#D9CC58#D9CC58

#D9CC58 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.4% C 0.137 H 102.9°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D9CC58
RGBrgb(217, 204, 88)
HSLhsl(54, 63%, 60%)
HSVhsv(54, 59%, 85%)
CMYKcmyk(0%, 6%, 59.4%, 14.9%)
CIE-LABlab(81.10, -9.65, 58.02)
CIE-LCHlch(81.10, 58.82, 99.44°)
OKLaboklab(83.37% -0.0307 0.1335)
OKLCHoklch(83.37% 0.137 102.9)
XYZxyz(51.9714, 58.6440, 17.8124)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC58 #5865D9
analogous
#D98B58 #D9CC58 #A6D958
triadic
#D9CC58 #58D9CC #CC58D9
tetradic
#D9CC58 #58D98B #5865D9 #D958A6
square
#D9CC58 #58D98B #5865D9 #D958A6
split-complementary
#D9CC58 #58A6D9 #8B58D9
monochromatic
#958922 #C7B72D #D9CC58 #E4DB8A #F0EABC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CC58#FFFFFF#000000##000000
##D9CC581.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)
#DDC64B
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#E8BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc58;
/* rgb */ color: rgb(217, 204, 88);
/* oklch */ color: oklch(83.4% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#e8db8b',
    500: '#d9cc58',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc58;
$custom-light: #e8db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc58",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 53.953,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83371,
    "c": 0.13695,
    "h": 102.9
  },
  "luminance": 0.58642
}

Semantic roles & 50–950 ramp

primary
#D9CC58
secondary
#3C459A
accent
#52E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CC58

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

Preview Lab → · Contrast checker → · Palette generator →

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