#D8CD43#D8CD43

#D8CD43 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.154 H 104.7°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D8CD43
RGBrgb(216, 205, 67)
HSLhsl(56, 66%, 55%)
HSVhsv(56, 69%, 85%)
CMYKcmyk(0%, 5.1%, 69%, 15.3%)
CIE-LABlab(81.11, -11.84, 66.63)
CIE-LCHlch(81.11, 67.68, 100.07°)
OKLaboklab(83.31% -0.0391 0.1486)
OKLCHoklch(83.31% 0.154 104.7)
XYZxyz(51.1654, 58.6688, 13.9382)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD43 #434ED8
analogous
#D88243 #D8CD43 #99D843
triadic
#D8CD43 #43D8CD #CD43D8
tetradic
#D8CD43 #43D882 #434ED8 #D84399
square
#D8CD43 #43D882 #434ED8 #D84399
split-complementary
#D8CD43 #4399D8 #8243D8
monochromatic
#857D1C #B8AD26 #D8CD43 #E3DA76 #EDE8A8

Accessibility & contrast

On white

1.65
#D8CD43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#D8CD43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD43
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD43#FFFFFF#000000##000000
##D8CD431.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62E
Deuteranopia (green-blind)
#E3CC4C
Tritanopia (blue-blind)
#E8BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cd43;
/* rgb */ color: rgb(216, 205, 67);
/* oklch */ color: oklch(83.3% 0.154 104.7);
Tailwind
colors: {
  custom: {
    50: '#e8db7f',
    500: '#d8cd43',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd43;
$custom-light: #e8db7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd43",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 67
  },
  "hsl": {
    "h": 55.57,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83309,
    "c": 0.15362,
    "h": 104.7
  },
  "luminance": 0.58667
}

Semantic roles & 50–950 ramp

primary
#D8CD43
secondary
#343A8C
accent
#4CE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D8CD43

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

Preview Lab → · Contrast checker → · Palette generator →

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