#D4CF4A#D4CF4A

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

Color values

HEX#D4CF4A
RGBrgb(212, 207, 74)
HSLhsl(58, 62%, 56%)
HSVhsv(58, 65%, 83%)
CMYKcmyk(0%, 2.4%, 65.1%, 16.9%)
CIE-LABlab(81.36, -14.13, 64.07)
CIE-LCHlch(81.36, 65.61, 102.44°)
OKLaboklab(83.44% -0.0446 0.1444)
OKLCHoklch(83.44% 0.151 107.2)
XYZxyz(50.7020, 59.1188, 15.2175)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF4A #4A4FD4
analogous
#D48A4A #D4CF4A #94D44A
triadic
#D4CF4A #4AD4CF #CF4AD4
tetradic
#D4CF4A #4AD48A #4A4FD4 #D44A94
square
#D4CF4A #4AD48A #4A4FD4 #D44A94
split-complementary
#D4CF4A #4A94D4 #8A4AD4
monochromatic
#84811F #B6B12B #D4CF4A #E0DC7B #EBE9AD

Accessibility & contrast

On white

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

On black

12.82
#D4CF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF4A
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF4A#FFFFFF#000000##000000
##D4CF4A1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cf4a;
/* rgb */ color: rgb(212, 207, 74);
/* oklch */ color: oklch(83.4% 0.151 107.2);
Tailwind
colors: {
  custom: {
    50: '#e4dd83',
    500: '#d4cf4a',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf4a;
$custom-light: #e4dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf4a",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 57.826,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83442,
    "c": 0.15115,
    "h": 107.2
  },
  "luminance": 0.59117
}

Semantic roles & 50–950 ramp

primary
#D4CF4A
secondary
#373A8B
accent
#49E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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