#D4CF49#D4CF49

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

Color values

HEX#D4CF49
RGBrgb(212, 207, 73)
HSLhsl(58, 62%, 56%)
HSVhsv(58, 66%, 83%)
CMYKcmyk(0%, 2.4%, 65.6%, 16.9%)
CIE-LABlab(81.35, -14.19, 64.46)
CIE-LCHlch(81.35, 66.00, 102.42°)
OKLaboklab(83.43% -0.0449 0.1451)
OKLCHoklch(83.43% 0.152 107.2)
XYZxyz(50.6686, 59.1054, 15.0415)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF49 #494ED4
analogous
#D48949 #D4CF49 #93D449
triadic
#D4CF49 #49D4CF #CF49D4
tetradic
#D4CF49 #49D489 #494ED4 #D44993
square
#D4CF49 #49D489 #494ED4 #D44993
split-complementary
#D4CF49 #4993D4 #8949D4
monochromatic
#84801F #B5B02B #D4CF49 #E0DC7B #EBE9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CF49#FFFFFF#000000##000000
##D4CF491.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)
#E0C736
Deuteranopia (green-blind)
#E2CD52
Tritanopia (blue-blind)
#E3C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf49;
/* rgb */ color: rgb(212, 207, 73);
/* oklch */ color: oklch(83.4% 0.152 107.2);
Tailwind
colors: {
  custom: {
    50: '#e4dd83',
    500: '#d4cf49',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf49;
$custom-light: #e4dd83;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf49",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 73
  },
  "hsl": {
    "h": 57.842,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83434,
    "c": 0.15186,
    "h": 107.2
  },
  "luminance": 0.59104
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4CF49

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

Preview Lab → · Contrast checker → · Palette generator →

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