#D4CF5B#D4CF5B

#D4CF5B is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.138 H 106.7°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D4CF5B
RGBrgb(212, 207, 91)
HSLhsl(58, 58%, 59%)
HSVhsv(58, 57%, 83%)
CMYKcmyk(0%, 2.4%, 57.1%, 16.9%)
CIE-LABlab(81.50, -13.02, 57.03)
CIE-LCHlch(81.50, 58.50, 102.86°)
OKLaboklab(83.6% -0.0396 0.1318)
OKLCHoklch(83.6% 0.138 106.7)
XYZxyz(51.3541, 59.3796, 18.6518)
Luminance0.5938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF5B #5B60D4
analogous
#D4935B #D4CF5B #9CD45B
triadic
#D4CF5B #5BD4CF #CF5BD4
tetradic
#D4CF5B #5BD493 #5B60D4 #D45B9C
square
#D4CF5B #5BD493 #5B60D4 #D45B9C
split-complementary
#D4CF5B #5B9CD4 #935BD4
monochromatic
#8F8B26 #C0BA32 #D4CF5B #E1DD8B #EDEBBC

Accessibility & contrast

On white

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

On black

12.88
#D4CF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF5B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF5B#FFFFFF#000000##000000
##D4CF5B1.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84F
Deuteranopia (green-blind)
#E1CD61
Tritanopia (blue-blind)
#E2C3B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf5b;
/* rgb */ color: rgb(212, 207, 91);
/* oklch */ color: oklch(83.6% 0.138 106.7);
Tailwind
colors: {
  custom: {
    50: '#e4dd8d',
    500: '#d4cf5b',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf5b;
$custom-light: #e4dd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf5b",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 91
  },
  "hsl": {
    "h": 57.521,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83602,
    "c": 0.13766,
    "h": 106.7
  },
  "luminance": 0.59378
}

Semantic roles & 50–950 ramp

primary
#D4CF5B
secondary
#3E4295
accent
#4DE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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