#D1CB42#D1CB42

#D1CB42 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.153 H 106.8°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D1CB42
RGBrgb(209, 203, 66)
HSLhsl(57, 61%, 54%)
HSVhsv(57, 68%, 82%)
CMYKcmyk(0%, 2.9%, 68.4%, 18%)
CIE-LABlab(79.99, -13.82, 65.70)
CIE-LCHlch(79.99, 67.14, 101.88°)
OKLaboklab(82.27% -0.0444 0.1467)
OKLCHoklch(82.27% 0.153 106.8)
XYZxyz(48.6356, 56.6622, 13.5282)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB42 #4248D1
analogous
#D18442 #D1CB42 #8FD142
triadic
#D1CB42 #42D1CB #CB42D1
tetradic
#D1CB42 #42D184 #4248D1 #D1428F
square
#D1CB42 #42D184 #4248D1 #D1428F
split-complementary
#D1CB42 #428FD1 #8442D1
monochromatic
#7B771E #ACA62A #D1CB42 #DDD973 #E9E6A4

Accessibility & contrast

On white

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

On black

12.33
#D1CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB42
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB42#FFFFFF#000000##000000
##D1CB421.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC32D
Deuteranopia (green-blind)
#DFC94B
Tritanopia (blue-blind)
#E0BEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1cb42;
/* rgb */ color: rgb(209, 203, 66);
/* oklch */ color: oklch(82.3% 0.153 106.8);
Tailwind
colors: {
  custom: {
    50: '#e3da7e',
    500: '#d1cb42',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb42;
$custom-light: #e3da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb42",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 57.483,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82274,
    "c": 0.15323,
    "h": 106.8
  },
  "luminance": 0.56661
}

Semantic roles & 50–950 ramp

primary
#D1CB42
secondary
#353883
accent
#4BE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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