#DFF8A2

A color in the Green family

#dff8a2 is a color in the Green family: RGB(223, 248, 162), HSL(77°, 86%, 80%), CMYK(10%, 0%, 35%, 3%). Closest named color: khaki. Contrast is 1.16:1 on white and 18.09:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#dff8a2
RGBrgb(223 248 162)
RGB (legacy)rgb(223, 248, 162)
RGB %rgb(87% 97% 64%)
HSLhsl(77 86% 80%)
HSV / HSBhsv(77, 35%, 97%)
HWBhwb(77 64% 3%)
CMYKcmyk(10%, 0%, 35%, 3%)
CIELAB (D50)lab(94.27 -18.57 38.51)
LCHlch(94.27 42.75 115.74)
OKLaboklab(0.9412 -0.0593 0.0957)
OKLCHoklch(0.9412 0.1126 121.77)
Decimal14678178

Properties

Color ToneGreen
Closest named colorkhaki ΔE 4.6
Closest web-safe color#ccff99
Hue77°
Saturation (HSL / HSV)86% / 35%
Lightness (HSL)80%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)90% / 93%
Relative luminance (WCAG)0.8543
Red / Green / Blue223 / 248 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.16:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
18.09: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 7.6 / -96.8 · As background with white / black text: Lc -8.9 / 95.9

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