#D9CB54#D9CB54

#D9CB54 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.139 H 102.6°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D9CB54
RGBrgb(217, 203, 84)
HSLhsl(54, 64%, 59%)
HSVhsv(54, 61%, 85%)
CMYKcmyk(0%, 6.5%, 61.3%, 14.9%)
CIE-LABlab(80.80, -9.41, 59.44)
CIE-LCHlch(80.80, 60.18, 99.00°)
OKLaboklab(83.12% -0.0304 0.136)
OKLCHoklch(83.12% 0.139 102.6)
XYZxyz(51.5734, 58.1057, 16.8847)
Luminance0.5810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB54 #5462D9
analogous
#D98954 #D9CB54 #A5D954
triadic
#D9CB54 #54D9CB #CB54D9
tetradic
#D9CB54 #54D989 #5462D9 #D954A5
square
#D9CB54 #54D989 #5462D9 #D954A5
split-complementary
#D9CB54 #54A5D9 #8954D9
monochromatic
#928620 #C4B42C #D9CB54 #E4DA86 #EFE9B8

Accessibility & contrast

On white

1.66
#D9CB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D9CB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CB54
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CB54#FFFFFF#000000##000000
##D9CB541.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#E8BEB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cb54;
/* rgb */ color: rgb(217, 203, 84);
/* oklch */ color: oklch(83.1% 0.139 102.6);
Tailwind
colors: {
  custom: {
    50: '#e8da89',
    500: '#d9cb54',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb54;
$custom-light: #e8da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb54",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 53.684,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83123,
    "c": 0.13933,
    "h": 102.6
  },
  "luminance": 0.58104
}

Semantic roles & 50–950 ramp

primary
#D9CB54
secondary
#3A4497
accent
#53E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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