#D1CB55#D1CB55

#D1CB55 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.4% C 0.139 H 106.3°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D1CB55
RGBrgb(209, 203, 85)
HSLhsl(57, 57%, 58%)
HSVhsv(57, 59%, 82%)
CMYKcmyk(0%, 2.9%, 59.3%, 18%)
CIE-LABlab(80.14, -12.67, 58.09)
CIE-LCHlch(80.14, 59.46, 102.31°)
OKLaboklab(82.44% -0.0391 0.1334)
OKLCHoklch(82.44% 0.139 106.3)
XYZxyz(49.2917, 56.9246, 16.9836)
Luminance0.5692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB55 #555BD1
analogous
#D18D55 #D1CB55 #99D155
triadic
#D1CB55 #55D1CB #CB55D1
tetradic
#D1CB55 #55D18D #555BD1 #D15599
square
#D1CB55 #55D18D #555BD1 #D15599
split-complementary
#D1CB55 #5599D1 #8D55D1
monochromatic
#878225 #B7B132 #D1CB55 #DEDA85 #EBE8B5

Accessibility & contrast

On white

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

On black

12.38
#D1CB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB55
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB55#FFFFFF#000000##000000
##D1CB551.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC448
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#DFBFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cb55;
/* rgb */ color: rgb(209, 203, 85);
/* oklch */ color: oklch(82.4% 0.139 106.3);
Tailwind
colors: {
  custom: {
    50: '#e2da89',
    500: '#d1cb55',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb55;
$custom-light: #e2da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb55",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 85
  },
  "hsl": {
    "h": 57.097,
    "s": 57.407,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82439,
    "c": 0.13904,
    "h": 106.3
  },
  "luminance": 0.56923
}

Semantic roles & 50–950 ramp

primary
#D1CB55
secondary
#3C408E
accent
#4FE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CB55

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

Preview Lab → · Contrast checker → · Palette generator →

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