#D5C258#D5C258

#D5C258 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.128 H 99.2°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#D5C258
RGBrgb(213, 194, 88)
HSLhsl(51, 60%, 59%)
HSVhsv(51, 59%, 84%)
CMYKcmyk(0%, 8.9%, 58.7%, 16.5%)
CIE-LABlab(78.13, -6.20, 54.62)
CIE-LCHlch(78.13, 54.97, 96.48°)
OKLaboklab(80.94% -0.0206 0.1263)
OKLCHoklch(80.94% 0.128 99.2)
XYZxyz(48.4957, 53.4363, 16.9904)
Luminance0.5343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C258 #586BD5
analogous
#D58458 #D5C258 #AAD558
triadic
#D5C258 #58D5C2 #C258D5
tetradic
#D5C258 #58D584 #586BD5 #D558AA
square
#D5C258 #58D584 #586BD5 #D558AA
split-complementary
#D5C258 #58AAD5 #8458D5
monochromatic
#8F7E24 #C0AA30 #D5C258 #E1D489 #EEE6BA

Accessibility & contrast

On white

1.80
#D5C258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#D5C258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C258
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C258#FFFFFF#000000##000000
##D5C2581.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4D
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#E4B5AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c258;
/* rgb */ color: rgb(213, 194, 88);
/* oklch */ color: oklch(80.9% 0.128 99.2);
Tailwind
colors: {
  custom: {
    50: '#e5d48b',
    500: '#d5c258',
    950: '#000000',
  },
}
SCSS
$custom: #d5c258;
$custom-light: #e5d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c258",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 50.88,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.80937,
    "c": 0.12796,
    "h": 99.2
  },
  "luminance": 0.53434
}

Semantic roles & 50–950 ramp

primary
#D5C258
secondary
#3D4A94
accent
#5DE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C258

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

Preview Lab → · Contrast checker → · Palette generator →

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