#D5C45F#D5C45F

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

Color values

HEX#D5C45F
RGBrgb(213, 196, 95)
HSLhsl(51, 58%, 60%)
HSVhsv(51, 55%, 84%)
CMYKcmyk(0%, 8%, 55.4%, 16.5%)
CIE-LABlab(78.73, -6.71, 52.07)
CIE-LCHlch(78.73, 52.50, 97.34°)
OKLaboklab(81.43% -0.0212 0.1216)
OKLCHoklch(81.43% 0.123 99.9)
XYZxyz(49.2478, 54.4541, 18.7408)
Luminance0.5445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C45F #5F70D5
analogous
#D5895F #D5C45F #ABD55F
triadic
#D5C45F #5FD5C4 #C45FD5
tetradic
#D5C45F #5FD589 #5F70D5 #D55FAB
square
#D5C45F #5FD589 #5F70D5 #D55FAB
split-complementary
#D5C45F #5FABD5 #895FD5
monochromatic
#938327 #C3AF33 #D5C45F #E2D68F #EEE8C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5C45F#FFFFFF#000000##000000
##D5C45F1.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)
#D4BF55
Deuteranopia (green-blind)
#D9C664
Tritanopia (blue-blind)
#E4B8AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c45f;
/* rgb */ color: rgb(213, 196, 95);
/* oklch */ color: oklch(81.4% 0.123 99.9);
Tailwind
colors: {
  custom: {
    50: '#e4d58f',
    500: '#d5c45f',
    950: '#000000',
  },
}
SCSS
$custom: #d5c45f;
$custom-light: #e4d58f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c45f",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 95
  },
  "hsl": {
    "h": 51.356,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.81431,
    "c": 0.12346,
    "h": 99.9
  },
  "luminance": 0.54452
}

Semantic roles & 50–950 ramp

primary
#D5C45F
secondary
#404D98
accent
#37C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C45F

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

Preview Lab → · Contrast checker → · Palette generator →

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