#D4C339#D4C339

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

Color values

HEX#D4C339
RGBrgb(212, 195, 57)
HSLhsl(53, 64%, 53%)
HSVhsv(53, 73%, 83%)
CMYKcmyk(0%, 8%, 73.1%, 16.9%)
CIE-LABlab(78.07, -8.93, 67.19)
CIE-LCHlch(78.07, 67.78, 97.57°)
OKLaboklab(80.79% -0.0317 0.1481)
OKLCHoklch(80.79% 0.151 102.1)
XYZxyz(47.4072, 53.3248, 11.6657)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C339 #394AD4
analogous
#D47539 #D4C339 #98D439
triadic
#D4C339 #39D4C3 #C339D4
tetradic
#D4C339 #39D475 #394AD4 #D43998
square
#D4C339 #39D475 #394AD4 #D43998
split-complementary
#D4C339 #3998D4 #7539D4
monochromatic
#786E1A #AB9C25 #D4C339 #DFD26B #EAE19E

Accessibility & contrast

On white

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

On black

11.66
#D4C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C339
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C339#FFFFFF#000000##000000
##D4C3391.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4c339;
/* rgb */ color: rgb(212, 195, 57);
/* oklch */ color: oklch(80.8% 0.151 102.1);
Tailwind
colors: {
  custom: {
    50: '#e5d479',
    500: '#d4c339',
    950: '#000000',
  },
}
SCSS
$custom: #d4c339;
$custom-light: #e5d479;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c339",
  "rgb": {
    "r": 212,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 53.419,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80787,
    "c": 0.15147,
    "h": 102.1
  },
  "luminance": 0.53323
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C339

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

Preview Lab → · Contrast checker → · Palette generator →

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