#D5CF5C#D5CF5C

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

Color values

HEX#D5CF5C
RGBrgb(213, 207, 92)
HSLhsl(57, 59%, 60%)
HSVhsv(57, 57%, 84%)
CMYKcmyk(0%, 2.8%, 56.8%, 16.5%)
CIE-LABlab(81.59, -12.53, 56.71)
CIE-LCHlch(81.59, 58.07, 102.46°)
OKLaboklab(83.7% -0.0382 0.1312)
OKLCHoklch(83.7% 0.137 106.2)
XYZxyz(51.6868, 59.5461, 18.8940)
Luminance0.5954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF5C #5C62D5
analogous
#D5935C #D5CF5C #9ED55C
triadic
#D5CF5C #5CD5CF #CF5CD5
tetradic
#D5CF5C #5CD593 #5C62D5 #D55C9E
square
#D5CF5C #5CD593 #5C62D5 #D55C9E
split-complementary
#D5CF5C #5C9ED5 #935CD5
monochromatic
#918C25 #C2BB32 #D5CF5C #E2DD8D #EEECBD

Accessibility & contrast

On white

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

On black

12.91
#D5CF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF5C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF5C#FFFFFF#000000##000000
##D5CF5C1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC850
Deuteranopia (green-blind)
#E2CD62
Tritanopia (blue-blind)
#E3C3B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cf5c;
/* rgb */ color: rgb(213, 207, 92);
/* oklch */ color: oklch(83.7% 0.137 106.2);
Tailwind
colors: {
  custom: {
    50: '#e4dd8e',
    500: '#d5cf5c',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf5c;
$custom-light: #e4dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf5c",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 92
  },
  "hsl": {
    "h": 57.025,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83697,
    "c": 0.13669,
    "h": 106.2
  },
  "luminance": 0.59544
}

Semantic roles & 50–950 ramp

primary
#D5CF5C
secondary
#3F4397
accent
#4DE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5CF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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