#DCF080

A color in the Yellow, Gold family

#dcf080 is a color in the Yellow, Gold family: RGB(220, 240, 128), HSL(71°, 79%, 72%), CMYK(8%, 0%, 47%, 6%). Closest named color: khaki. Contrast is 1.25:1 on white and 16.82:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dcf080
RGBrgb(220 240 128)
RGB (legacy)rgb(220, 240, 128)
RGB %rgb(86% 94% 50%)
HSLhsl(71 79% 72%)
HSV / HSBhsv(71, 47%, 94%)
HWBhwb(71 50% 6%)
CMYKcmyk(8%, 0%, 47%, 6%)
CIELAB (D50)lab(91.55 -18.84 51.33)
LCHlch(91.55 54.68 110.16)
OKLaboklab(0.9168 -0.0644 0.1234)
OKLCHoklch(0.9168 0.1392 117.57)
Decimal14479488

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 4.2
Closest web-safe color#ccff99
Hue71°
Saturation (HSL / HSV)79% / 47%
Lightness (HSL)72%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)87% / 89%
Relative luminance (WCAG)0.7909
Red / Green / Blue220 / 240 / 128

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.25:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.82:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 12.3 / -91.7 · As background with white / black text: Lc -14.2 / 91.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #dcf080;
  --color-brand-oklch: oklch(91.68% 0.1392 117.57);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(220 240 128 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dcf080] text-[#dcf080] border-[#dcf080]">