#D5C94F#D5C94F

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

Color values

HEX#D5C94F
RGBrgb(213, 201, 79)
HSLhsl(55, 61%, 57%)
HSVhsv(55, 63%, 84%)
CMYKcmyk(0%, 5.6%, 62.9%, 16.5%)
CIE-LABlab(79.89, -10.39, 60.50)
CIE-LCHlch(79.89, 61.38, 99.74°)
OKLaboklab(82.31% -0.0335 0.1376)
OKLCHoklch(82.31% 0.142 103.7)
XYZxyz(49.7404, 56.4858, 15.6784)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C94F #4F5BD5
analogous
#D5864F #D5C94F #9ED54F
triadic
#D5C94F #4FD5C9 #C94FD5
tetradic
#D5C94F #4FD586 #4F5BD5 #D54F9E
square
#D5C94F #4FD586 #4F5BD5 #D54F9E
split-complementary
#D5C94F #4F9ED5 #864FD5
monochromatic
#898021 #BAAE2C #D5C94F #E1D880 #EDE7B2

Accessibility & contrast

On white

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

On black

12.30
#D5C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C94F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C94F#FFFFFF#000000##000000
##D5C94F1.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5c94f;
/* rgb */ color: rgb(213, 201, 79);
/* oklch */ color: oklch(82.3% 0.142 103.7);
Tailwind
colors: {
  custom: {
    50: '#e5d986',
    500: '#d5c94f',
    950: '#000000',
  },
}
SCSS
$custom: #d5c94f;
$custom-light: #e5d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c94f",
  "rgb": {
    "r": 213,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 54.627,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82306,
    "c": 0.14162,
    "h": 103.7
  },
  "luminance": 0.56484
}

Semantic roles & 50–950 ramp

primary
#D5C94F
secondary
#39418F
accent
#52E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C94F

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

Preview Lab → · Contrast checker → · Palette generator →

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