#D9D33F#D9D33F

#D9D33F is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.6% C 0.161 H 107.1°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D9D33F
RGBrgb(217, 211, 63)
HSLhsl(58, 67%, 55%)
HSVhsv(58, 71%, 85%)
CMYKcmyk(0%, 2.8%, 71%, 14.9%)
CIE-LABlab(82.75, -14.62, 69.73)
CIE-LCHlch(82.75, 71.25, 101.84°)
OKLaboklab(84.63% -0.0474 0.1544)
OKLCHoklch(84.63% 0.161 107.1)
XYZxyz(52.8088, 61.7009, 13.8294)
Luminance0.6170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D33F #3F45D9
analogous
#D9863F #D9D33F #92D93F
triadic
#D9D33F #3FD9D3 #D33FD9
tetradic
#D9D33F #3FD986 #3F45D9 #D93F92
square
#D9D33F #3FD986 #3F45D9 #D93F92
split-complementary
#D9D33F #3F92D9 #863FD9
monochromatic
#847F1A #B7B124 #D9D33F #E3DF72 #EDEAA5

Accessibility & contrast

On white

1.57
#D9D33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D9D33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D33F
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D33F#FFFFFF#000000##000000
##D9D33F1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB25
Deuteranopia (green-blind)
#E8D14A
Tritanopia (blue-blind)
#E9C5B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d33f;
/* rgb */ color: rgb(217, 211, 63);
/* oklch */ color: oklch(84.6% 0.161 107.1);
Tailwind
colors: {
  custom: {
    50: '#e8e07e',
    500: '#d9d33f',
    950: '#000000',
  },
}
SCSS
$custom: #d9d33f;
$custom-light: #e8e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d33f",
  "rgb": {
    "r": 217,
    "g": 211,
    "b": 63
  },
  "hsl": {
    "h": 57.662,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.84631,
    "c": 0.16149,
    "h": 107.1
  },
  "luminance": 0.61699
}

Semantic roles & 50–950 ramp

primary
#D9D33F
secondary
#32358A
accent
#45EA3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D33F

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

Preview Lab → · Contrast checker → · Palette generator →

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