#D2CA59#D2CA59

#D2CA59 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.4% C 0.135 H 105.2°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D2CA59
RGBrgb(210, 202, 89)
HSLhsl(56, 57%, 59%)
HSVhsv(56, 58%, 82%)
CMYKcmyk(0%, 3.8%, 57.6%, 17.6%)
CIE-LABlab(79.99, -11.47, 56.19)
CIE-LCHlch(79.99, 57.35, 101.54°)
OKLaboklab(82.36% -0.0353 0.1298)
OKLCHoklch(82.36% 0.135 105.2)
XYZxyz(49.5036, 56.6656, 17.7792)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA59 #5961D2
analogous
#D28D59 #D2CA59 #9DD259
triadic
#D2CA59 #59D2CA #CA59D2
tetradic
#D2CA59 #59D28D #5961D2 #D2599D
square
#D2CA59 #59D28D #5961D2 #D2599D
split-complementary
#D2CA59 #599DD2 #8D59D2
monochromatic
#8B8426 #BBB233 #D2CA59 #DFD989 #ECE9B9

Accessibility & contrast

On white

1.70
#D2CA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#D2CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA59
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA59#FFFFFF#000000##000000
##D2CA591.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34D
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca59;
/* rgb */ color: rgb(210, 202, 89);
/* oklch */ color: oklch(82.4% 0.135 105.2);
Tailwind
colors: {
  custom: {
    50: '#e2d98c',
    500: '#d2ca59',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca59;
$custom-light: #e2d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca59",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 56.033,
    "s": 57.346,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82355,
    "c": 0.13456,
    "h": 105.2
  },
  "luminance": 0.56664
}

Semantic roles & 50–950 ramp

primary
#D2CA59
secondary
#3E4491
accent
#51E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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