#D9C358#D9C358

#D9C358 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.129 H 97.8°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D9C358
RGBrgb(217, 195, 88)
HSLhsl(50, 63%, 60%)
HSVhsv(50, 59%, 85%)
CMYKcmyk(0%, 10.1%, 59.4%, 14.9%)
CIE-LABlab(78.75, -5.05, 55.41)
CIE-LCHlch(78.75, 55.64, 95.20°)
OKLaboklab(81.51% -0.0175 0.1279)
OKLCHoklch(81.51% 0.129 97.8)
XYZxyz(49.8938, 54.4887, 17.1199)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C358 #586ED9
analogous
#D98258 #D9C358 #AFD958
triadic
#D9C358 #58D9C3 #C358D9
tetradic
#D9C358 #58D982 #586ED9 #D958AF
square
#D9C358 #58D982 #586ED9 #D958AF
split-complementary
#D9C358 #58AFD9 #8258D9
monochromatic
#958122 #C7AC2D #D9C358 #E4D58A #F0E7BC

Accessibility & contrast

On white

1.77
#D9C358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D9C358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C358
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C358#FFFFFF#000000##000000
##D9C3581.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4D
Deuteranopia (green-blind)
#DAC65D
Tritanopia (blue-blind)
#E9B6AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c358;
/* rgb */ color: rgb(217, 195, 88);
/* oklch */ color: oklch(81.5% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#e8d48b',
    500: '#d9c358',
    950: '#000000',
  },
}
SCSS
$custom: #d9c358;
$custom-light: #e8d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c358",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 88
  },
  "hsl": {
    "h": 49.767,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81507,
    "c": 0.12908,
    "h": 97.8
  },
  "luminance": 0.54487
}

Semantic roles & 50–950 ramp

primary
#D9C358
secondary
#3C4C9A
accent
#5EE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C358

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

Preview Lab → · Contrast checker → · Palette generator →

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