#D2CA39#D2CA39

#D2CA39 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.1% C 0.158 H 106.2°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D2CA39
RGBrgb(210, 202, 57)
HSLhsl(57, 63%, 52%)
HSVhsv(57, 73%, 82%)
CMYKcmyk(0%, 3.8%, 72.9%, 17.6%)
CIE-LABlab(79.75, -13.33, 68.74)
CIE-LCHlch(79.75, 70.02, 100.98°)
OKLaboklab(82.09% -0.044 0.1515)
OKLCHoklch(82.09% 0.158 106.2)
XYZxyz(48.4394, 56.2399, 12.1739)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA39 #3941D2
analogous
#D27E39 #D2CA39 #8DD239
triadic
#D2CA39 #39D2CA #CA39D2
tetradic
#D2CA39 #39D27E #3941D2 #D2398D
square
#D2CA39 #39D27E #3941D2 #D2398D
split-complementary
#D2CA39 #398DD2 #7E39D2
monochromatic
#76711B #A8A126 #D2CA39 #DDD76B #E9E59D

Accessibility & contrast

On white

1.71
#D2CA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D2CA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA39
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA39#FFFFFF#000000##000000
##D2CA391.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC21D
Deuteranopia (green-blind)
#DFC844
Tritanopia (blue-blind)
#E1BCAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca39;
/* rgb */ color: rgb(210, 202, 57);
/* oklch */ color: oklch(82.1% 0.158 106.2);
Tailwind
colors: {
  custom: {
    50: '#e4d97a',
    500: '#d2ca39',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca39;
$custom-light: #e4d97a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca39",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 56.863,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82086,
    "c": 0.15771,
    "h": 106.2
  },
  "luminance": 0.56238
}

Semantic roles & 50–950 ramp

primary
#D2CA39
secondary
#31357E
accent
#4AE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2CA39

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

Preview Lab → · Contrast checker → · Palette generator →

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