#D4CF4B#D4CF4B

#D4CF4B is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.5% C 0.150 H 107.2°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D4CF4B
RGBrgb(212, 207, 75)
HSLhsl(58, 61%, 56%)
HSVhsv(58, 65%, 83%)
CMYKcmyk(0%, 2.4%, 64.6%, 16.9%)
CIE-LABlab(81.36, -14.08, 63.67)
CIE-LCHlch(81.36, 65.21, 102.47°)
OKLaboklab(83.45% -0.0444 0.1437)
OKLCHoklch(83.45% 0.15 107.2)
XYZxyz(50.7360, 59.1323, 15.3964)
Luminance0.5913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF4B #4B50D4
analogous
#D48B4B #D4CF4B #95D44B
triadic
#D4CF4B #4BD4CF #CF4BD4
tetradic
#D4CF4B #4BD48B #4B50D4 #D44B95
square
#D4CF4B #4BD48B #4B50D4 #D44B95
split-complementary
#D4CF4B #4B95D4 #8B4BD4
monochromatic
#858120 #B6B12C #D4CF4B #E0DC7C #ECE9AE

Accessibility & contrast

On white

1.64
#D4CF4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#D4CF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF4B
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF4B#FFFFFF#000000##000000
##D4CF4B1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C739
Deuteranopia (green-blind)
#E2CD53
Tritanopia (blue-blind)
#E3C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf4b;
/* rgb */ color: rgb(212, 207, 75);
/* oklch */ color: oklch(83.5% 0.150 107.2);
Tailwind
colors: {
  custom: {
    50: '#e4dd84',
    500: '#d4cf4b',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf4b;
$custom-light: #e4dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf4b",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 75
  },
  "hsl": {
    "h": 57.81,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8345,
    "c": 0.15042,
    "h": 107.2
  },
  "luminance": 0.59131
}

Semantic roles & 50–950 ramp

primary
#D4CF4B
secondary
#383B8C
accent
#49E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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