#D2CA5E#D2CA5E

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

Color values

HEX#D2CA5E
RGBrgb(210, 202, 94)
HSLhsl(56, 56%, 60%)
HSVhsv(56, 55%, 82%)
CMYKcmyk(0%, 3.8%, 55.2%, 17.6%)
CIE-LABlab(80.04, -11.09, 53.98)
CIE-LCHlch(80.04, 55.10, 101.61°)
OKLaboklab(82.41% -0.0337 0.1257)
OKLCHoklch(82.41% 0.13 105)
XYZxyz(49.7208, 56.7524, 18.9227)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA5E #5E66D2
analogous
#D2905E #D2CA5E #A0D25E
triadic
#D2CA5E #5ED2CA #CA5ED2
tetradic
#D2CA5E #5ED290 #5E66D2 #D25EA0
square
#D2CA5E #5ED290 #5E66D2 #D25EA0
split-complementary
#D2CA5E #5EA0D2 #905ED2
monochromatic
#8E8728 #BEB435 #D2CA5E #DFDA8E #EDE9BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CA5E#FFFFFF#000000##000000
##D2CA5E1.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)
#D9C453
Deuteranopia (green-blind)
#DDC964
Tritanopia (blue-blind)
#E0BEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d2ca5e;
/* rgb */ color: rgb(210, 202, 94);
/* oklch */ color: oklch(82.4% 0.130 105.0);
Tailwind
colors: {
  custom: {
    50: '#e2d98f',
    500: '#d2ca5e',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca5e;
$custom-light: #e2d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca5e",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 94
  },
  "hsl": {
    "h": 55.862,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8241,
    "c": 0.13012,
    "h": 105
  },
  "luminance": 0.56751
}

Semantic roles & 50–950 ramp

primary
#D2CA5E
secondary
#404694
accent
#53E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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