#D1CB54#D1CB54

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

Color values

HEX#D1CB54
RGBrgb(209, 203, 84)
HSLhsl(57, 58%, 57%)
HSVhsv(57, 60%, 82%)
CMYKcmyk(0%, 2.9%, 59.8%, 18%)
CIE-LABlab(80.13, -12.74, 58.52)
CIE-LCHlch(80.13, 59.89, 102.28°)
OKLaboklab(82.43% -0.0394 0.1342)
OKLCHoklch(82.43% 0.14 106.4)
XYZxyz(49.2523, 56.9088, 16.7759)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB54 #545AD1
analogous
#D18D54 #D1CB54 #99D154
triadic
#D1CB54 #54D1CB #CB54D1
tetradic
#D1CB54 #54D18D #545AD1 #D15499
square
#D1CB54 #54D18D #545AD1 #D15499
split-complementary
#D1CB54 #5499D1 #8D54D1
monochromatic
#868224 #B7B031 #D1CB54 #DEDA84 #EBE8B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CB54#FFFFFF#000000##000000
##D1CB541.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)
#DBC446
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#DFBFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cb54;
/* rgb */ color: rgb(209, 203, 84);
/* oklch */ color: oklch(82.4% 0.140 106.4);
Tailwind
colors: {
  custom: {
    50: '#e2da89',
    500: '#d1cb54',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb54;
$custom-light: #e2da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb54",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 57.12,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8243,
    "c": 0.13986,
    "h": 106.4
  },
  "luminance": 0.56907
}

Semantic roles & 50–950 ramp

primary
#D1CB54
secondary
#3C408D
accent
#4EE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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