#D8CB45#D8CB45

#D8CB45 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.150 H 103.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D8CB45
RGBrgb(216, 203, 69)
HSLhsl(55, 65%, 56%)
HSVhsv(55, 68%, 85%)
CMYKcmyk(0%, 6%, 68.1%, 15.3%)
CIE-LABlab(80.60, -10.72, 65.36)
CIE-LCHlch(80.60, 66.23, 99.32°)
OKLaboklab(82.9% -0.0357 0.1462)
OKLCHoklch(82.9% 0.151 103.7)
XYZxyz(50.7511, 57.7425, 14.1012)
Luminance0.5774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB45 #4552D8
analogous
#D88145 #D8CB45 #9BD845
triadic
#D8CB45 #45D8CB #CB45D8
tetradic
#D8CB45 #45D881 #4552D8 #D8459B
square
#D8CB45 #45D881 #4552D8 #D8459B
split-complementary
#D8CB45 #459BD8 #8145D8
monochromatic
#867D1C #B9AC27 #D8CB45 #E3D978 #EDE7AA

Accessibility & contrast

On white

1.67
#D8CB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#D8CB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB45
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB45#FFFFFF#000000##000000
##D8CB451.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC431
Deuteranopia (green-blind)
#E1CB4D
Tritanopia (blue-blind)
#E8BDB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb45;
/* rgb */ color: rgb(216, 203, 69);
/* oklch */ color: oklch(82.9% 0.150 103.7);
Tailwind
colors: {
  custom: {
    50: '#e8da80',
    500: '#d8cb45',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb45;
$custom-light: #e8da80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb45",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 69
  },
  "hsl": {
    "h": 54.694,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82904,
    "c": 0.1505,
    "h": 103.7
  },
  "luminance": 0.5774
}

Semantic roles & 50–950 ramp

primary
#D8CB45
secondary
#343C8D
accent
#4EE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CB45

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

Preview Lab → · Contrast checker → · Palette generator →

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