#D9C357#D9C357

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

Color values

HEX#D9C357
RGBrgb(217, 195, 87)
HSLhsl(50, 63%, 60%)
HSVhsv(50, 60%, 85%)
CMYKcmyk(0%, 10.1%, 59.9%, 14.9%)
CIE-LABlab(78.74, -5.12, 55.85)
CIE-LCHlch(78.74, 56.08, 95.23°)
OKLaboklab(81.5% -0.0178 0.1287)
OKLCHoklch(81.5% 0.13 97.9)
XYZxyz(49.8527, 54.4723, 16.9032)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C357 #576DD9
analogous
#D98257 #D9C357 #AED957
triadic
#D9C357 #57D9C3 #C357D9
tetradic
#D9C357 #57D982 #576DD9 #D957AE
square
#D9C357 #57D982 #576DD9 #D957AE
split-complementary
#D9C357 #57AED9 #8257D9
monochromatic
#948121 #C6AC2D #D9C357 #E4D589 #F0E7BB

Accessibility & contrast

On white

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

On black

11.89
#D9C357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C357
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C357#FFFFFF#000000##000000
##D9C3571.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF4B
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#E9B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d9c357;
/* rgb */ color: rgb(217, 195, 87);
/* oklch */ color: oklch(81.5% 0.130 97.9);
Tailwind
colors: {
  custom: {
    50: '#e8d48a',
    500: '#d9c357',
    950: '#000000',
  },
}
SCSS
$custom: #d9c357;
$custom-light: #e8d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c357",
  "rgb": {
    "r": 217,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 49.846,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81497,
    "c": 0.12993,
    "h": 97.9
  },
  "luminance": 0.5447
}

Semantic roles & 50–950 ramp

primary
#D9C357
secondary
#3B4B99
accent
#5DE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C357

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

Preview Lab → · Contrast checker → · Palette generator →

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