#D4C33B#D4C33B

#D4C33B is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.150 H 102.0°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D4C33B
RGBrgb(212, 195, 59)
HSLhsl(53, 64%, 53%)
HSVhsv(53, 72%, 83%)
CMYKcmyk(0%, 8%, 72.2%, 16.9%)
CIE-LABlab(78.08, -8.84, 66.49)
CIE-LCHlch(78.08, 67.08, 97.57°)
OKLaboklab(80.8% -0.0312 0.147)
OKLCHoklch(80.8% 0.15 102)
XYZxyz(47.4580, 53.3451, 11.9337)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C33B #3B4CD4
analogous
#D4763B #D4C33B #99D43B
triadic
#D4C33B #3BD4C3 #C33BD4
tetradic
#D4C33B #3BD476 #3B4CD4 #D43B99
square
#D4C33B #3BD476 #3B4CD4 #D43B99
split-complementary
#D4C33B #3B99D4 #763BD4
monochromatic
#7A6F1B #AC9D26 #D4C33B #DFD26D #EAE29F

Accessibility & contrast

On white

1.80
#D4C33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#D4C33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C33B
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C33B#FFFFFF#000000##000000
##D4C33B1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD23
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#E4B5A8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c33b;
/* rgb */ color: rgb(212, 195, 59);
/* oklch */ color: oklch(80.8% 0.150 102.0);
Tailwind
colors: {
  custom: {
    50: '#e5d47a',
    500: '#d4c33b',
    950: '#000000',
  },
}
SCSS
$custom: #d4c33b;
$custom-light: #e5d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c33b",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 53.333,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.808,
    "c": 0.15028,
    "h": 102
  },
  "luminance": 0.53343
}

Semantic roles & 50–950 ramp

primary
#D4C33B
secondary
#313A82
accent
#53E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C33B

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

Preview Lab → · Contrast checker → · Palette generator →

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