#DFF87F

A color in the Yellow, Gold family

#dff87f is a color in the Yellow, Gold family: RGB(223, 248, 127), HSL(72°, 90%, 74%), CMYK(10%, 0%, 49%, 3%). Closest named color: khaki. Contrast is 1.18:1 on white and 17.87:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#dff87f
RGBrgb(223 248 127)
RGB (legacy)rgb(223, 248, 127)
RGB %rgb(87% 97% 50%)
HSLhsl(72 90% 74%)
HSV / HSBhsv(72, 49%, 97%)
HWBhwb(72 50% 3%)
CMYKcmyk(10%, 0%, 49%, 3%)
CIELAB (D50)lab(93.88 -21.36 54.59)
LCHlch(93.88 58.62 111.36)
OKLaboklab(0.936 -0.0724 0.1306)
OKLCHoklch(0.936 0.1493 119.02)
Decimal14678143

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 5.7
Closest web-safe color#ccff66
Hue72°
Saturation (HSL / HSV)90% / 49%
Lightness (HSL)74%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)89% / 92%
Relative luminance (WCAG)0.8436
Red / Green / Blue223 / 248 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.18:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.87: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 8.3 / -95.9 · As background with white / black text: Lc -9.8 / 95.2

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: #dff87f;
  --color-brand-oklch: oklch(93.6% 0.1493 119.02);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(223 248 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#dff87f] text-[#dff87f] border-[#dff87f]">