#D2CB5F#D2CB5F

#D2CB5F is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.130 H 105.5°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#D2CB5F
RGBrgb(210, 203, 95)
HSLhsl(56, 56%, 60%)
HSVhsv(56, 55%, 82%)
CMYKcmyk(0%, 3.3%, 54.8%, 17.6%)
CIE-LABlab(80.32, -11.52, 53.83)
CIE-LCHlch(80.32, 55.05, 102.08°)
OKLaboklab(82.63% -0.0348 0.1255)
OKLCHoklch(82.63% 0.13 105.5)
XYZxyz(50.0013, 57.2413, 19.2390)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB5F #5F66D2
analogous
#D2925F #D2CB5F #9FD25F
triadic
#D2CB5F #5FD2CB #CB5FD2
tetradic
#D2CB5F #5FD292 #5F66D2 #D25F9F
square
#D2CB5F #5FD292 #5F66D2 #D25F9F
split-complementary
#D2CB5F #5F9FD2 #925FD2
monochromatic
#8F8828 #BEB636 #D2CB5F #DFDB8F #EDEABF

Accessibility & contrast

On white

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

On black

12.45
#D2CB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB5F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB5F#FFFFFF#000000##000000
##D2CB5F1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#DDCA65
Tritanopia (blue-blind)
#E0BFB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb5f;
/* rgb */ color: rgb(210, 203, 95);
/* oklch */ color: oklch(82.6% 0.130 105.5);
Tailwind
colors: {
  custom: {
    50: '#e2da90',
    500: '#d2cb5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb5f;
$custom-light: #e2da90;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb5f",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 56.348,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82632,
    "c": 0.13022,
    "h": 105.5
  },
  "luminance": 0.5724
}

Semantic roles & 50–950 ramp

primary
#D2CB5F
secondary
#414694
accent
#52DF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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