#D4CF47#D4CF47

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

Color values

HEX#D4CF47
RGBrgb(212, 207, 71)
HSLhsl(58, 62%, 55%)
HSVhsv(58, 67%, 83%)
CMYKcmyk(0%, 2.4%, 66.5%, 16.9%)
CIE-LABlab(81.34, -14.30, 65.22)
CIE-LCHlch(81.34, 66.77, 102.37°)
OKLaboklab(83.42% -0.0454 0.1464)
OKLCHoklch(83.42% 0.153 107.2)
XYZxyz(50.6034, 59.0793, 14.6979)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF47 #474CD4
analogous
#D48847 #D4CF47 #93D447
triadic
#D4CF47 #47D4CF #CF47D4
tetradic
#D4CF47 #47D488 #474CD4 #D44793
square
#D4CF47 #47D488 #474CD4 #D44793
split-complementary
#D4CF47 #4793D4 #8847D4
monochromatic
#827F1E #B4AF2A #D4CF47 #E0DC79 #EBE9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CF47#FFFFFF#000000##000000
##D4CF471.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)
#E0C733
Deuteranopia (green-blind)
#E3CC50
Tritanopia (blue-blind)
#E3C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf47;
/* rgb */ color: rgb(212, 207, 71);
/* oklch */ color: oklch(83.4% 0.153 107.2);
Tailwind
colors: {
  custom: {
    50: '#e5dd82',
    500: '#d4cf47',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf47;
$custom-light: #e5dd82;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf47",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 57.872,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83418,
    "c": 0.15326,
    "h": 107.2
  },
  "luminance": 0.59078
}

Semantic roles & 50–950 ramp

primary
#D4CF47
secondary
#363989
accent
#48E543
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4CF47

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

Preview Lab → · Contrast checker → · Palette generator →

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