#D4CF41#D4CF41

#D4CF41 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.4% C 0.157 H 107.4°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D4CF41
RGBrgb(212, 207, 65)
HSLhsl(58, 63%, 54%)
HSVhsv(58, 69%, 83%)
CMYKcmyk(0%, 2.4%, 69.3%, 16.9%)
CIE-LABlab(81.29, -14.62, 67.45)
CIE-LCHlch(81.29, 69.02, 102.23°)
OKLaboklab(83.37% -0.0469 0.1501)
OKLCHoklch(83.37% 0.157 107.4)
XYZxyz(50.4202, 59.0060, 13.7334)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF41 #4146D4
analogous
#D48641 #D4CF41 #90D441
triadic
#D4CF41 #41D4CF #CF41D4
tetradic
#D4CF41 #41D486 #4146D4 #D44190
square
#D4CF41 #41D486 #4146D4 #D44190
split-complementary
#D4CF41 #4190D4 #8641D4
monochromatic
#7E7B1D #B0AB28 #D4CF41 #DFDC73 #EBE8A5

Accessibility & contrast

On white

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

On black

12.80
#D4CF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF41
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF41#FFFFFF#000000##000000
##D4CF411.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cf41;
/* rgb */ color: rgb(212, 207, 65);
/* oklch */ color: oklch(83.4% 0.157 107.4);
Tailwind
colors: {
  custom: {
    50: '#e5dd7e',
    500: '#d4cf41',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf41;
$custom-light: #e5dd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf41",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 65
  },
  "hsl": {
    "h": 57.959,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.83373,
    "c": 0.15724,
    "h": 107.4
  },
  "luminance": 0.59004
}

Semantic roles & 50–950 ramp

primary
#D4CF41
secondary
#343685
accent
#47E642
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4CF41

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

Preview Lab → · Contrast checker → · Palette generator →

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