#D2CA5F#D2CA5F

#D2CA5F is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.129 H 105.0°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D2CA5F
RGBrgb(210, 202, 95)
HSLhsl(56, 56%, 60%)
HSVhsv(56, 55%, 82%)
CMYKcmyk(0%, 3.8%, 54.8%, 17.6%)
CIE-LABlab(80.05, -11.01, 53.53)
CIE-LCHlch(80.05, 54.65, 101.63°)
OKLaboklab(82.42% -0.0334 0.1248)
OKLCHoklch(82.42% 0.129 105)
XYZxyz(49.7659, 56.7705, 19.1606)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA5F #5F67D2
analogous
#D2905F #D2CA5F #A1D25F
triadic
#D2CA5F #5FD2CA #CA5FD2
tetradic
#D2CA5F #5FD290 #5F67D2 #D25FA1
square
#D2CA5F #5FD290 #5F67D2 #D25FA1
split-complementary
#D2CA5F #5FA1D2 #905FD2
monochromatic
#8F8728 #BEB536 #D2CA5F #DFDA8F #EDEABF

Accessibility & contrast

On white

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

On black

12.35
#D2CA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA5F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA5F#FFFFFF#000000##000000
##D2CA5F1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C454
Deuteranopia (green-blind)
#DCC964
Tritanopia (blue-blind)
#E0BEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca5f;
/* rgb */ color: rgb(210, 202, 95);
/* oklch */ color: oklch(82.4% 0.129 105.0);
Tailwind
colors: {
  custom: {
    50: '#e2d990',
    500: '#d2ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca5f;
$custom-light: #e2d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca5f",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 55.826,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82421,
    "c": 0.12921,
    "h": 105
  },
  "luminance": 0.56769
}

Semantic roles & 50–950 ramp

primary
#D2CA5F
secondary
#414794
accent
#53DF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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