#D4CF4C#D4CF4C

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

Color values

HEX#D4CF4C
RGBrgb(212, 207, 76)
HSLhsl(58, 61%, 56%)
HSVhsv(58, 64%, 83%)
CMYKcmyk(0%, 2.4%, 64.2%, 16.9%)
CIE-LABlab(81.37, -14.02, 63.28)
CIE-LCHlch(81.37, 64.81, 102.49°)
OKLaboklab(83.46% -0.0441 0.1431)
OKLCHoklch(83.46% 0.15 107.1)
XYZxyz(50.7705, 59.1461, 15.5780)
Luminance0.5914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF4C #4C51D4
analogous
#D48B4C #D4CF4C #95D44C
triadic
#D4CF4C #4CD4CF #CF4CD4
tetradic
#D4CF4C #4CD48B #4C51D4 #D44C95
square
#D4CF4C #4CD48B #4C51D4 #D44C95
split-complementary
#D4CF4C #4C95D4 #8B4CD4
monochromatic
#868220 #B7B22C #D4CF4C #E0DC7D #ECE9AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CF4C#FFFFFF#000000##000000
##D4CF4C1.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)
#E0C73B
Deuteranopia (green-blind)
#E2CD54
Tritanopia (blue-blind)
#E3C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf4c;
/* rgb */ color: rgb(212, 207, 76);
/* oklch */ color: oklch(83.5% 0.150 107.1);
Tailwind
colors: {
  custom: {
    50: '#e4dd84',
    500: '#d4cf4c',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf4c;
$custom-light: #e4dd84;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf4c",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 57.794,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.83459,
    "c": 0.14969,
    "h": 107.1
  },
  "luminance": 0.59144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4CF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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