#D5C458#D5C458

#D5C458 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.130 H 100.4°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D5C458
RGBrgb(213, 196, 88)
HSLhsl(52, 60%, 59%)
HSVhsv(52, 59%, 84%)
CMYKcmyk(0%, 8%, 58.7%, 16.5%)
CIE-LABlab(78.66, -7.23, 55.21)
CIE-LCHlch(78.66, 55.68, 97.46°)
OKLaboklab(81.35% -0.0235 0.1276)
OKLCHoklch(81.35% 0.13 100.4)
XYZxyz(48.9438, 54.3325, 17.1398)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C458 #5869D5
analogous
#D58658 #D5C458 #A8D558
triadic
#D5C458 #58D5C4 #C458D5
tetradic
#D5C458 #58D586 #5869D5 #D558A8
square
#D5C458 #58D586 #5869D5 #D558A8
split-complementary
#D5C458 #58A8D5 #8658D5
monochromatic
#8F8024 #C0AC30 #D5C458 #E1D589 #EEE7BA

Accessibility & contrast

On white

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

On black

11.87
#D5C458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C458
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C458#FFFFFF#000000##000000
##D5C4581.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4D
Deuteranopia (green-blind)
#D9C65D
Tritanopia (blue-blind)
#E4B7AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d5c458;
/* rgb */ color: rgb(213, 196, 88);
/* oklch */ color: oklch(81.4% 0.130 100.4);
Tailwind
colors: {
  custom: {
    50: '#e5d58b',
    500: '#d5c458',
    950: '#000000',
  },
}
SCSS
$custom: #d5c458;
$custom-light: #e5d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c458",
  "rgb": {
    "r": 213,
    "g": 196,
    "b": 88
  },
  "hsl": {
    "h": 51.84,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81352,
    "c": 0.12971,
    "h": 100.4
  },
  "luminance": 0.54331
}

Semantic roles & 50–950 ramp

primary
#D5C458
secondary
#3D4994
accent
#5AE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C458

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

Preview Lab → · Contrast checker → · Palette generator →

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