#D2CA57#D2CA57

#D2CA57 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.136 H 105.3°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D2CA57
RGBrgb(210, 202, 87)
HSLhsl(56, 58%, 58%)
HSVhsv(56, 59%, 82%)
CMYKcmyk(0%, 3.8%, 58.6%, 17.6%)
CIE-LABlab(79.97, -11.61, 57.06)
CIE-LCHlch(79.97, 58.23, 101.50°)
OKLaboklab(82.33% -0.0359 0.1314)
OKLCHoklch(82.33% 0.136 105.3)
XYZxyz(49.4208, 56.6325, 17.3428)
Luminance0.5663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA57 #575FD2
analogous
#D28D57 #D2CA57 #9CD257
triadic
#D2CA57 #57D2CA #CA57D2
tetradic
#D2CA57 #57D28D #575FD2 #D2579C
square
#D2CA57 #57D28D #575FD2 #D2579C
split-complementary
#D2CA57 #579CD2 #8D57D2
monochromatic
#8A8325 #BAB132 #D2CA57 #DFD987 #ECE8B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CA57#FFFFFF#000000##000000
##D2CA571.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)
#DAC34A
Deuteranopia (green-blind)
#DDC95D
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca57;
/* rgb */ color: rgb(210, 202, 87);
/* oklch */ color: oklch(82.3% 0.136 105.3);
Tailwind
colors: {
  custom: {
    50: '#e2d98b',
    500: '#d2ca57',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca57;
$custom-light: #e2d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca57",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 56.098,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82334,
    "c": 0.13627,
    "h": 105.3
  },
  "luminance": 0.56631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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