#D4D03B#D4D03B

#D4D03B is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.5% C 0.162 H 107.9°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D4D03B
RGBrgb(212, 208, 59)
HSLhsl(58, 64%, 53%)
HSVhsv(58, 72%, 83%)
CMYKcmyk(0%, 1.9%, 72.2%, 16.9%)
CIE-LABlab(81.53, -15.40, 69.80)
CIE-LCHlch(81.53, 71.48, 102.44°)
OKLaboklab(83.55% -0.0497 0.154)
OKLCHoklch(83.55% 0.162 107.9)
XYZxyz(50.4986, 59.4262, 12.9472)
Luminance0.5942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D03B #3B3FD4
analogous
#D4833B #D4D03B #8CD43B
triadic
#D4D03B #3BD4D0 #D03BD4
tetradic
#D4D03B #3BD483 #3B3FD4 #D43B8C
square
#D4D03B #3BD483 #3B3FD4 #D43B8C
split-complementary
#D4D03B #3B8CD4 #833BD4
monochromatic
#7A771B #ACA926 #D4D03B #DFDC6D #EAE89F

Accessibility & contrast

On white

1.63
#D4D03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D4D03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D03B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D03B#FFFFFF#000000##000000
##D4D03B1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C81E
Deuteranopia (green-blind)
#E4CD46
Tritanopia (blue-blind)
#E3C2B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d03b;
/* rgb */ color: rgb(212, 208, 59);
/* oklch */ color: oklch(83.5% 0.162 107.9);
Tailwind
colors: {
  custom: {
    50: '#e5de7b',
    500: '#d4d03b',
    950: '#000000',
  },
}
SCSS
$custom: #d4d03b;
$custom-light: #e5de7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d03b",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 59
  },
  "hsl": {
    "h": 58.431,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83545,
    "c": 0.16182,
    "h": 107.9
  },
  "luminance": 0.59425
}

Semantic roles & 50–950 ramp

primary
#D4D03B
secondary
#313482
accent
#45E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D03B

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

Preview Lab → · Contrast checker → · Palette generator →

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