#D2E87F

A color in the Yellow, Gold family

#d2e87f is a color in the Yellow, Gold family: RGB(210, 232, 127), HSL(73°, 70%, 70%), CMYK(9%, 0%, 45%, 9%). Closest named color: khaki. Contrast is 1.35:1 on white and 15.59:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d2e87f
RGBrgb(210 232 127)
RGB (legacy)rgb(210, 232, 127)
RGB %rgb(82% 91% 50%)
HSLhsl(73 70% 70%)
HSV / HSBhsv(73, 45%, 91%)
HWBhwb(73 50% 9%)
CMYKcmyk(9%, 0%, 45%, 9%)
CIELAB (D50)lab(88.67 -19.12 48.17)
LCHlch(88.67 51.82 111.65)
OKLaboklab(0.8922 -0.0642 0.1164)
OKLCHoklch(0.8922 0.1329 118.9)
Decimal13822079

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 4.5
Closest web-safe color#ccff66
Hue73°
Saturation (HSL / HSV)70% / 45%
Lightness (HSL)70%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)84% / 86%
Relative luminance (WCAG)0.7295
Red / Green / Blue210 / 232 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.35:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
15.59: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 17 / -86.6 · As background with white / black text: Lc -19.5 / 86.7

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: #d2e87f;
  --color-brand-oklch: oklch(89.22% 0.1329 118.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 232 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d2e87f] text-[#d2e87f] border-[#d2e87f]">