#D4CF45#D4CF45

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

Color values

HEX#D4CF45
RGBrgb(212, 207, 69)
HSLhsl(58, 62%, 55%)
HSVhsv(58, 67%, 83%)
CMYKcmyk(0%, 2.4%, 67.5%, 16.9%)
CIE-LABlab(81.32, -14.41, 65.98)
CIE-LCHlch(81.32, 67.54, 102.32°)
OKLaboklab(83.4% -0.0459 0.1476)
OKLCHoklch(83.4% 0.155 107.3)
XYZxyz(50.5402, 59.0540, 14.3654)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF45 #454AD4
analogous
#D48745 #D4CF45 #92D445
triadic
#D4CF45 #45D4CF #CF45D4
tetradic
#D4CF45 #45D487 #454AD4 #D44592
square
#D4CF45 #45D487 #454AD4 #D44592
split-complementary
#D4CF45 #4592D4 #8745D4
monochromatic
#817D1E #B3AE29 #D4CF45 #DFDC77 #EBE9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CF45#FFFFFF#000000##000000
##D4CF451.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)
#E0C730
Deuteranopia (green-blind)
#E3CC4E
Tritanopia (blue-blind)
#E3C2B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf45;
/* rgb */ color: rgb(212, 207, 69);
/* oklch */ color: oklch(83.4% 0.155 107.3);
Tailwind
colors: {
  custom: {
    50: '#e5dd80',
    500: '#d4cf45',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf45;
$custom-light: #e5dd80;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf45",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 69
  },
  "hsl": {
    "h": 57.902,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83402,
    "c": 0.15462,
    "h": 107.3
  },
  "luminance": 0.59052
}

Semantic roles & 50–950 ramp

primary
#D4CF45
secondary
#353888
accent
#48E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4CF45

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

Preview Lab → · Contrast checker → · Palette generator →

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