#D2C439#D2C439

#D2C439 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.152 H 103.4°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D2C439
RGBrgb(210, 196, 57)
HSLhsl(55, 63%, 52%)
HSVhsv(55, 73%, 82%)
CMYKcmyk(0%, 6.7%, 72.9%, 17.6%)
CIE-LABlab(78.16, -10.30, 67.22)
CIE-LCHlch(78.16, 68.00, 98.71°)
OKLaboklab(80.82% -0.0354 0.1483)
OKLCHoklch(80.82% 0.152 103.4)
XYZxyz(47.0588, 53.4789, 11.7138)
Luminance0.5348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C439 #3947D2
analogous
#D27839 #D2C439 #93D239
triadic
#D2C439 #39D2C4 #C439D2
tetradic
#D2C439 #39D278 #3947D2 #D23993
square
#D2C439 #39D278 #3947D2 #D23993
split-complementary
#D2C439 #3993D2 #7839D2
monochromatic
#766D1B #A89C26 #D2C439 #DDD36B #E9E29D

Accessibility & contrast

On white

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

On black

11.70
#D2C439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C439
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C439#FFFFFF#000000##000000
##D2C4391.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BD1F
Deuteranopia (green-blind)
#DAC443
Tritanopia (blue-blind)
#E2B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c439;
/* rgb */ color: rgb(210, 196, 57);
/* oklch */ color: oklch(80.8% 0.152 103.4);
Tailwind
colors: {
  custom: {
    50: '#e4d579',
    500: '#d2c439',
    950: '#000000',
  },
}
SCSS
$custom: #d2c439;
$custom-light: #e4d579;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c439",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 57
  },
  "hsl": {
    "h": 54.51,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80818,
    "c": 0.15242,
    "h": 103.4
  },
  "luminance": 0.53477
}

Semantic roles & 50–950 ramp

primary
#D2C439
secondary
#31387E
accent
#51E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C439

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

Preview Lab → · Contrast checker → · Palette generator →

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