#D5C858#D5C858

#D5C858 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.133 H 102.7°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#D5C858
RGBrgb(213, 200, 88)
HSLhsl(54, 60%, 59%)
HSVhsv(54, 59%, 84%)
CMYKcmyk(0%, 6.1%, 58.7%, 16.5%)
CIE-LABlab(79.71, -9.28, 56.38)
CIE-LCHlch(79.71, 57.14, 99.34°)
OKLaboklab(82.19% -0.0294 0.1301)
OKLCHoklch(82.19% 0.133 102.7)
XYZxyz(49.8581, 56.1611, 17.4445)
Luminance0.5616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C858 #5865D5
analogous
#D58A58 #D5C858 #A4D558
triadic
#D5C858 #58D5C8 #C858D5
tetradic
#D5C858 #58D58A #5865D5 #D558A4
square
#D5C858 #58D58A #5865D5 #D558A4
split-complementary
#D5C858 #58A4D5 #8A58D5
monochromatic
#8F8424 #C0B130 #D5C858 #E1D889 #EEE8BA

Accessibility & contrast

On white

1.72
#D5C858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#D5C858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C858
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C858#FFFFFF#000000##000000
##D5C8581.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#E4BBB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d5c858;
/* rgb */ color: rgb(213, 200, 88);
/* oklch */ color: oklch(82.2% 0.133 102.7);
Tailwind
colors: {
  custom: {
    50: '#e5d88b',
    500: '#d5c858',
    950: '#000000',
  },
}
SCSS
$custom: #d5c858;
$custom-light: #e5d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c858",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 88
  },
  "hsl": {
    "h": 53.76,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82186,
    "c": 0.13334,
    "h": 102.7
  },
  "luminance": 0.56159
}

Semantic roles & 50–950 ramp

primary
#D5C858
secondary
#3D4694
accent
#55E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C858

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

Preview Lab → · Contrast checker → · Palette generator →

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