#D4C439#D4C439

#D4C439 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.0% C 0.152 H 102.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#D4C439
RGBrgb(212, 196, 57)
HSLhsl(54, 64%, 53%)
HSVhsv(54, 73%, 83%)
CMYKcmyk(0%, 7.5%, 73.1%, 16.9%)
CIE-LABlab(78.33, -9.44, 67.44)
CIE-LCHlch(78.33, 68.10, 97.97°)
OKLaboklab(81% -0.0331 0.1487)
OKLCHoklch(81% 0.152 102.6)
XYZxyz(47.6320, 53.7744, 11.7406)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C439 #3949D4
analogous
#D47639 #D4C439 #97D439
triadic
#D4C439 #39D4C4 #C439D4
tetradic
#D4C439 #39D476 #3949D4 #D43997
square
#D4C439 #39D476 #3949D4 #D43997
split-complementary
#D4C439 #3997D4 #7639D4
monochromatic
#786F1A #AB9D25 #D4C439 #DFD36B #EAE29E

Accessibility & contrast

On white

1.79
#D4C439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#D4C439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C439
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C439#FFFFFF#000000##000000
##D4C4391.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE1F
Deuteranopia (green-blind)
#DBC543
Tritanopia (blue-blind)
#E4B6A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c439;
/* rgb */ color: rgb(212, 196, 57);
/* oklch */ color: oklch(81.0% 0.152 102.6);
Tailwind
colors: {
  custom: {
    50: '#e5d579',
    500: '#d4c439',
    950: '#000000',
  },
}
SCSS
$custom: #d4c439;
$custom-light: #e5d579;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c439",
  "rgb": {
    "r": 212,
    "g": 196,
    "b": 57
  },
  "hsl": {
    "h": 53.806,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80997,
    "c": 0.15229,
    "h": 102.6
  },
  "luminance": 0.53772
}

Semantic roles & 50–950 ramp

primary
#D4C439
secondary
#313980
accent
#52E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D4C439

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

Preview Lab → · Contrast checker → · Palette generator →

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