#D9D23F#D9D23F

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

Color values

HEX#D9D23F
RGBrgb(217, 210, 63)
HSLhsl(57, 67%, 55%)
HSVhsv(57, 71%, 85%)
CMYKcmyk(0%, 3.2%, 71%, 14.9%)
CIE-LABlab(82.49, -14.12, 69.48)
CIE-LCHlch(82.49, 70.90, 101.49°)
OKLaboklab(84.42% -0.046 0.1538)
OKLCHoklch(84.42% 0.161 106.6)
XYZxyz(52.5611, 61.2056, 13.7468)
Luminance0.6120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D23F #3F46D9
analogous
#D9853F #D9D23F #93D93F
triadic
#D9D23F #3FD9D2 #D23FD9
tetradic
#D9D23F #3FD985 #3F46D9 #D93F93
square
#D9D23F #3FD985 #3F46D9 #D93F93
split-complementary
#D9D23F #3F93D9 #853FD9
monochromatic
#847F1A #B7B024 #D9D23F #E3DE72 #EDEAA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D23F#FFFFFF#000000##000000
##D9D23F1.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)
#E4CA25
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#E9C4B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d23f;
/* rgb */ color: rgb(217, 210, 63);
/* oklch */ color: oklch(84.4% 0.161 106.6);
Tailwind
colors: {
  custom: {
    50: '#e8df7e',
    500: '#d9d23f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d23f;
$custom-light: #e8df7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d23f",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 63
  },
  "hsl": {
    "h": 57.273,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.8442,
    "c": 0.16057,
    "h": 106.6
  },
  "luminance": 0.61204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D23F

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

Preview Lab → · Contrast checker → · Palette generator →

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