#D8CC43#D8CC43

#D8CC43 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.153 H 104.3°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D8CC43
RGBrgb(216, 204, 67)
HSLhsl(55, 66%, 55%)
HSVhsv(55, 69%, 85%)
CMYKcmyk(0%, 5.6%, 69%, 15.3%)
CIE-LABlab(80.85, -11.33, 66.37)
CIE-LCHlch(80.85, 67.33, 99.69°)
OKLaboklab(83.1% -0.0377 0.148)
OKLCHoklch(83.1% 0.153 104.3)
XYZxyz(50.9270, 58.1919, 13.8587)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC43 #434FD8
analogous
#D88143 #D8CC43 #99D843
triadic
#D8CC43 #43D8CC #CC43D8
tetradic
#D8CC43 #43D881 #434FD8 #D84399
square
#D8CC43 #43D881 #434FD8 #D84399
split-complementary
#D8CC43 #4399D8 #8143D8
monochromatic
#857D1C #B8AC26 #D8CC43 #E3DA76 #EDE7A8

Accessibility & contrast

On white

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

On black

12.64
#D8CC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC43
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC43#FFFFFF#000000##000000
##D8CC431.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52E
Deuteranopia (green-blind)
#E2CC4C
Tritanopia (blue-blind)
#E8BEB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc43;
/* rgb */ color: rgb(216, 204, 67);
/* oklch */ color: oklch(83.1% 0.153 104.3);
Tailwind
colors: {
  custom: {
    50: '#e8db7f',
    500: '#d8cc43',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc43;
$custom-light: #e8db7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc43",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 67
  },
  "hsl": {
    "h": 55.168,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83099,
    "c": 0.15273,
    "h": 104.3
  },
  "luminance": 0.5819
}

Semantic roles & 50–950 ramp

primary
#D8CC43
secondary
#343B8C
accent
#4DE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D8CC43

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

Preview Lab → · Contrast checker → · Palette generator →

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