#D1CB4C#D1CB4C

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

Color values

HEX#D1CB4C
RGBrgb(209, 203, 76)
HSLhsl(57, 59%, 56%)
HSVhsv(57, 64%, 82%)
CMYKcmyk(0%, 2.9%, 63.6%, 18%)
CIE-LABlab(80.06, -13.26, 61.83)
CIE-LCHlch(80.06, 63.24, 102.10°)
OKLaboklab(82.36% -0.0418 0.1401)
OKLCHoklch(82.36% 0.146 106.6)
XYZxyz(48.9567, 56.7906, 15.2189)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB4C #4C52D1
analogous
#D1884C #D1CB4C #94D14C
triadic
#D1CB4C #4CD1CB #CB4CD1
tetradic
#D1CB4C #4CD188 #4C52D1 #D14C94
square
#D1CB4C #4CD188 #4C52D1 #D14C94
split-complementary
#D1CB4C #4C94D1 #884CD1
monochromatic
#817D21 #B2AC2E #D1CB4C #DED97D #EAE7AD

Accessibility & contrast

On white

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

On black

12.36
#D1CB4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB4C
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB4C#FFFFFF#000000##000000
##D1CB4C1.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43C
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#E0BEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1cb4c;
/* rgb */ color: rgb(209, 203, 76);
/* oklch */ color: oklch(82.4% 0.146 106.6);
Tailwind
colors: {
  custom: {
    50: '#e2da84',
    500: '#d1cb4c',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb4c;
$custom-light: #e2da84;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb4c",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 76
  },
  "hsl": {
    "h": 57.293,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82355,
    "c": 0.14617,
    "h": 106.6
  },
  "luminance": 0.56789
}

Semantic roles & 50–950 ramp

primary
#D1CB4C
secondary
#393C89
accent
#4DE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CB4C

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

Preview Lab → · Contrast checker → · Palette generator →

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