#D2CB4E#D2CB4E

#D2CB4E is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.5% C 0.145 H 106.1°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D2CB4E
RGBrgb(210, 203, 78)
HSLhsl(57, 59%, 56%)
HSVhsv(57, 63%, 82%)
CMYKcmyk(0%, 3.3%, 62.9%, 17.6%)
CIE-LABlab(80.16, -12.72, 61.13)
CIE-LCHlch(80.16, 62.44, 101.75°)
OKLaboklab(82.46% -0.0401 0.1389)
OKLCHoklch(82.46% 0.145 106.1)
XYZxyz(49.3112, 56.9652, 15.6041)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB4E #4E55D2
analogous
#D2894E #D2CB4E #97D24E
triadic
#D2CB4E #4ED2CB #CB4ED2
tetradic
#D2CB4E #4ED289 #4E55D2 #D24E97
square
#D2CB4E #4ED289 #4E55D2 #D24E97
split-complementary
#D2CB4E #4E97D2 #894ED2
monochromatic
#847F22 #B5AE2E #D2CB4E #DED97F #EBE8B0

Accessibility & contrast

On white

1.69
#D2CB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D2CB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB4E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB4E#FFFFFF#000000##000000
##D2CB4E1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43E
Deuteranopia (green-blind)
#DEC955
Tritanopia (blue-blind)
#E1BEB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb4e;
/* rgb */ color: rgb(210, 203, 78);
/* oklch */ color: oklch(82.5% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e3da85',
    500: '#d2cb4e',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb4e;
$custom-light: #e3da85;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb4e",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 78
  },
  "hsl": {
    "h": 56.818,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82458,
    "c": 0.14453,
    "h": 106.1
  },
  "luminance": 0.56964
}

Semantic roles & 50–950 ramp

primary
#D2CB4E
secondary
#393E8B
accent
#4EE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2CB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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