#D4CF46#D4CF46

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

Color values

HEX#D4CF46
RGBrgb(212, 207, 70)
HSLhsl(58, 62%, 55%)
HSVhsv(58, 67%, 83%)
CMYKcmyk(0%, 2.4%, 67%, 16.9%)
CIE-LABlab(81.33, -14.36, 65.60)
CIE-LCHlch(81.33, 67.16, 102.35°)
OKLaboklab(83.41% -0.0457 0.147)
OKLCHoklch(83.41% 0.154 107.3)
XYZxyz(50.5715, 59.0666, 14.5302)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF46 #464BD4
analogous
#D48846 #D4CF46 #92D446
triadic
#D4CF46 #46D4CF #CF46D4
tetradic
#D4CF46 #46D488 #464BD4 #D44692
square
#D4CF46 #46D488 #464BD4 #D44692
split-complementary
#D4CF46 #4692D4 #8846D4
monochromatic
#817E1E #B3AE2A #D4CF46 #E0DC78 #EBE9A9

Accessibility & contrast

On white

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

On black

12.81
#D4CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF46
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF46#FFFFFF#000000##000000
##D4CF461.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C732
Deuteranopia (green-blind)
#E3CC4F
Tritanopia (blue-blind)
#E3C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf46;
/* rgb */ color: rgb(212, 207, 70);
/* oklch */ color: oklch(83.4% 0.154 107.3);
Tailwind
colors: {
  custom: {
    50: '#e5dd81',
    500: '#d4cf46',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf46;
$custom-light: #e5dd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf46",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 57.887,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8341,
    "c": 0.15394,
    "h": 107.3
  },
  "luminance": 0.59065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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