#D5CF58#D5CF58

#D5CF58 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.7% C 0.140 H 106.4°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#D5CF58
RGBrgb(213, 207, 88)
HSLhsl(57, 60%, 59%)
HSVhsv(57, 59%, 84%)
CMYKcmyk(0%, 2.8%, 58.7%, 16.5%)
CIE-LABlab(81.55, -12.82, 58.44)
CIE-LCHlch(81.55, 59.83, 102.38°)
OKLaboklab(83.66% -0.0395 0.1344)
OKLCHoklch(83.66% 0.14 106.4)
XYZxyz(51.5165, 59.4780, 17.9973)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF58 #585ED5
analogous
#D59158 #D5CF58 #9DD558
triadic
#D5CF58 #58D5CF #CF58D5
tetradic
#D5CF58 #58D591 #585ED5 #D5589D
square
#D5CF58 #58D591 #585ED5 #D5589D
split-complementary
#D5CF58 #589DD5 #9158D5
monochromatic
#8F8A24 #C0B930 #D5CF58 #E1DD89 #EEEBBA

Accessibility & contrast

On white

1.63
#D5CF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#D5CF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF58
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF58#FFFFFF#000000##000000
##D5CF581.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84B
Deuteranopia (green-blind)
#E2CD5F
Tritanopia (blue-blind)
#E3C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cf58;
/* rgb */ color: rgb(213, 207, 88);
/* oklch */ color: oklch(83.7% 0.140 106.4);
Tailwind
colors: {
  custom: {
    50: '#e5dd8c',
    500: '#d5cf58',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf58;
$custom-light: #e5dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf58",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 57.12,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83655,
    "c": 0.14011,
    "h": 106.4
  },
  "luminance": 0.59476
}

Semantic roles & 50–950 ramp

primary
#D5CF58
secondary
#3D4194
accent
#4CE345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CF58

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

Preview Lab → · Contrast checker → · Palette generator →

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