#D4D04B#D4D04B

#D4D04B is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.7% C 0.151 H 107.6°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D4D04B
RGBrgb(212, 208, 75)
HSLhsl(58, 61%, 56%)
HSVhsv(58, 65%, 83%)
CMYKcmyk(0%, 1.9%, 64.6%, 16.9%)
CIE-LABlab(81.63, -14.58, 63.95)
CIE-LCHlch(81.63, 65.59, 102.84°)
OKLaboklab(83.66% -0.0458 0.1443)
OKLCHoklch(83.66% 0.151 107.6)
XYZxyz(50.9790, 59.6184, 15.4774)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D04B #4B4FD4
analogous
#D48C4B #D4D04B #94D44B
triadic
#D4D04B #4BD4D0 #D04BD4
tetradic
#D4D04B #4BD48C #4B4FD4 #D44B94
square
#D4D04B #4BD48C #4B4FD4 #D44B94
split-complementary
#D4D04B #4B94D4 #8C4BD4
monochromatic
#858220 #B6B22C #D4D04B #E0DD7C #ECEAAE

Accessibility & contrast

On white

1.62
#D4D04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D4D04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D04B
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D04B#FFFFFF#000000##000000
##D4D04B1.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C839
Deuteranopia (green-blind)
#E3CD53
Tritanopia (blue-blind)
#E3C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d4d04b;
/* rgb */ color: rgb(212, 208, 75);
/* oklch */ color: oklch(83.7% 0.151 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4de84',
    500: '#d4d04b',
    950: '#000000',
  },
}
SCSS
$custom: #d4d04b;
$custom-light: #e4de84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d04b",
  "rgb": {
    "r": 212,
    "g": 208,
    "b": 75
  },
  "hsl": {
    "h": 58.248,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.83662,
    "c": 0.1514,
    "h": 107.6
  },
  "luminance": 0.59617
}

Semantic roles & 50–950 ramp

primary
#D4D04B
secondary
#383A8C
accent
#48E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4D04B

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

Preview Lab → · Contrast checker → · Palette generator →

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