#D9D23E#D9D23E

#D9D23E is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.161 H 106.7°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#D9D23E
RGBrgb(217, 210, 62)
HSLhsl(57, 67%, 55%)
HSVhsv(57, 71%, 85%)
CMYKcmyk(0%, 3.2%, 71.4%, 14.9%)
CIE-LABlab(82.48, -14.16, 69.82)
CIE-LCHlch(82.48, 71.24, 101.47°)
OKLaboklab(84.41% -0.0462 0.1544)
OKLCHoklch(84.41% 0.161 106.7)
XYZxyz(52.5334, 61.1946, 13.6010)
Luminance0.6119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D23E #3E45D9
analogous
#D9843E #D9D23E #93D93E
triadic
#D9D23E #3ED9D2 #D23ED9
tetradic
#D9D23E #3ED984 #3E45D9 #D93E93
square
#D9D23E #3ED984 #3E45D9 #D93E93
split-complementary
#D9D23E #3E93D9 #843ED9
monochromatic
#837E1A #B6AF24 #D9D23E #E3DE71 #EDEAA4

Accessibility & contrast

On white

1.59
#D9D23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#D9D23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D23E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D23E#FFFFFF#000000##000000
##D9D23E1.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA23
Deuteranopia (green-blind)
#E7D049
Tritanopia (blue-blind)
#E9C4B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d23e;
/* rgb */ color: rgb(217, 210, 62);
/* oklch */ color: oklch(84.4% 0.161 106.7);
Tailwind
colors: {
  custom: {
    50: '#e9df7d',
    500: '#d9d23e',
    950: '#000000',
  },
}
SCSS
$custom: #d9d23e;
$custom-light: #e9df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d23e",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 62
  },
  "hsl": {
    "h": 57.29,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.84413,
    "c": 0.16116,
    "h": 106.7
  },
  "luminance": 0.61193
}

Semantic roles & 50–950 ramp

primary
#D9D23E
secondary
#32368A
accent
#46EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9D23E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D9D23E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva