#D4CF4E#D4CF4E

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

Color values

HEX#D4CF4E
RGBrgb(212, 207, 78)
HSLhsl(58, 61%, 57%)
HSVhsv(58, 63%, 83%)
CMYKcmyk(0%, 2.4%, 63.2%, 16.9%)
CIE-LABlab(81.39, -13.90, 62.48)
CIE-LCHlch(81.39, 64.01, 102.54°)
OKLaboklab(83.48% -0.0435 0.1417)
OKLCHoklch(83.48% 0.148 107.1)
XYZxyz(50.8411, 59.1744, 15.9499)
Luminance0.5917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF4E #4E53D4
analogous
#D48C4E #D4CF4E #96D44E
triadic
#D4CF4E #4ED4CF #CF4ED4
tetradic
#D4CF4E #4ED48C #4E53D4 #D44E96
square
#D4CF4E #4ED48C #4E53D4 #D44E96
split-complementary
#D4CF4E #4E96D4 #8C4ED4
monochromatic
#878321 #B8B32D #D4CF4E #E0DC7F #ECEAB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CF4E#FFFFFF#000000##000000
##D4CF4E1.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)
#DFC73E
Deuteranopia (green-blind)
#E2CD56
Tritanopia (blue-blind)
#E3C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf4e;
/* rgb */ color: rgb(212, 207, 78);
/* oklch */ color: oklch(83.5% 0.148 107.1);
Tailwind
colors: {
  custom: {
    50: '#e4dd86',
    500: '#d4cf4e',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf4e;
$custom-light: #e4dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf4e",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 78
  },
  "hsl": {
    "h": 57.761,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83476,
    "c": 0.1482,
    "h": 107.1
  },
  "luminance": 0.59173
}

Semantic roles & 50–950 ramp

primary
#D4CF4E
secondary
#393C8D
accent
#4AE444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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