#D5C44F#D5C44F

#D5C44F is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.3% C 0.137 H 101.0°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D5C44F
RGBrgb(213, 196, 79)
HSLhsl(52, 61%, 57%)
HSVhsv(52, 63%, 84%)
CMYKcmyk(0%, 8%, 62.9%, 16.5%)
CIE-LABlab(78.57, -7.84, 59.09)
CIE-LCHlch(78.57, 59.61, 97.56°)
OKLaboklab(81.26% -0.0263 0.1346)
OKLCHoklch(81.26% 0.137 101)
XYZxyz(48.5937, 54.1925, 15.2962)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C44F #4F60D5
analogous
#D5814F #D5C44F #A3D54F
triadic
#D5C44F #4FD5C4 #C44FD5
tetradic
#D5C44F #4FD581 #4F60D5 #D54FA3
square
#D5C44F #4FD581 #4F60D5 #D54FA3
split-complementary
#D5C44F #4FA3D5 #814FD5
monochromatic
#897C21 #BAA82C #D5C44F #E1D580 #EDE5B2

Accessibility & contrast

On white

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

On black

11.84
#D5C44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C44F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C44F#FFFFFF#000000##000000
##D5C44F1.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF41
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#E4B7AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d5c44f;
/* rgb */ color: rgb(213, 196, 79);
/* oklch */ color: oklch(81.3% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#e5d585',
    500: '#d5c44f',
    950: '#000000',
  },
}
SCSS
$custom: #d5c44f;
$custom-light: #e5d585;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c44f",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 52.388,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81261,
    "c": 0.13715,
    "h": 101
  },
  "luminance": 0.54191
}

Semantic roles & 50–950 ramp

primary
#D5C44F
secondary
#39448F
accent
#58E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C44F

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

Preview Lab → · Contrast checker → · Palette generator →

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