#D5C94D#D5C94D

#D5C94D is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.143 H 103.8°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#D5C94D
RGBrgb(213, 201, 77)
HSLhsl(55, 62%, 57%)
HSVhsv(55, 64%, 84%)
CMYKcmyk(0%, 5.6%, 63.8%, 16.5%)
CIE-LABlab(79.87, -10.51, 61.32)
CIE-LCHlch(79.87, 62.21, 99.73°)
OKLaboklab(82.29% -0.0341 0.139)
OKLCHoklch(82.29% 0.143 103.8)
XYZxyz(49.6687, 56.4571, 15.3007)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C94D #4D59D5
analogous
#D5854D #D5C94D #9DD54D
triadic
#D5C94D #4DD5C9 #C94DD5
tetradic
#D5C94D #4DD585 #4D59D5 #D54D9D
square
#D5C94D #4DD585 #4D59D5 #D54D9D
split-complementary
#D5C94D #4D9DD5 #854DD5
monochromatic
#887E20 #B9AD2C #D5C94D #E1D87F #ECE7B0

Accessibility & contrast

On white

1.71
#D5C94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#D5C94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C94D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C94D#FFFFFF#000000##000000
##D5C94D1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33D
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#E4BCAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c94d;
/* rgb */ color: rgb(213, 201, 77);
/* oklch */ color: oklch(82.3% 0.143 103.8);
Tailwind
colors: {
  custom: {
    50: '#e5d984',
    500: '#d5c94d',
    950: '#000000',
  },
}
SCSS
$custom: #d5c94d;
$custom-light: #e5d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c94d",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 54.706,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82288,
    "c": 0.14315,
    "h": 103.8
  },
  "luminance": 0.56455
}

Semantic roles & 50–950 ramp

primary
#D5C94D
secondary
#38408E
accent
#51E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C94D

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

Preview Lab → · Contrast checker → · Palette generator →

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