#D5CF4E#D5CF4E

#D5CF4E is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.148 H 106.6°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D5CF4E
RGBrgb(213, 207, 78)
HSLhsl(57, 62%, 57%)
HSVhsv(57, 63%, 84%)
CMYKcmyk(0%, 2.8%, 63.4%, 16.5%)
CIE-LABlab(81.47, -13.48, 62.59)
CIE-LCHlch(81.47, 64.03, 102.15°)
OKLaboklab(83.56% -0.0424 0.1419)
OKLCHoklch(83.56% 0.148 106.6)
XYZxyz(51.1303, 59.3235, 15.9635)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF4E #4E54D5
analogous
#D58B4E #D5CF4E #98D54E
triadic
#D5CF4E #4ED5CF #CF4ED5
tetradic
#D5CF4E #4ED58B #4E54D5 #D54E98
square
#D5CF4E #4ED58B #4E54D5 #D54E98
split-complementary
#D5CF4E #4E98D5 #8B4ED5
monochromatic
#888420 #BAB32C #D5CF4E #E1DC7F #ECEAB1

Accessibility & contrast

On white

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

On black

12.86
#D5CF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF4E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF4E#FFFFFF#000000##000000
##D5CF4E1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C83E
Deuteranopia (green-blind)
#E2CD56
Tritanopia (blue-blind)
#E4C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cf4e;
/* rgb */ color: rgb(213, 207, 78);
/* oklch */ color: oklch(83.6% 0.148 106.6);
Tailwind
colors: {
  custom: {
    50: '#e5dd86',
    500: '#d5cf4e',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf4e;
$custom-light: #e5dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf4e",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 57.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83561,
    "c": 0.14807,
    "h": 106.6
  },
  "luminance": 0.59322
}

Semantic roles & 50–950 ramp

primary
#D5CF4E
secondary
#393C8F
accent
#4AE543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5CF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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