#D4CF55#D4CF55

#D4CF55 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.5% C 0.143 H 106.9°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D4CF55
RGBrgb(212, 207, 85)
HSLhsl(58, 60%, 58%)
HSVhsv(58, 60%, 83%)
CMYKcmyk(0%, 2.4%, 59.9%, 16.9%)
CIE-LABlab(81.45, -13.44, 59.60)
CIE-LCHlch(81.45, 61.09, 102.71°)
OKLaboklab(83.54% -0.0415 0.1365)
OKLCHoklch(83.54% 0.143 106.9)
XYZxyz(51.1055, 59.2802, 17.3427)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF55 #555AD4
analogous
#D48F55 #D4CF55 #99D455
triadic
#D4CF55 #55D4CF #CF55D4
tetradic
#D4CF55 #55D48F #555AD4 #D45599
square
#D4CF55 #55D48F #555AD4 #D45599
split-complementary
#D4CF55 #5599D4 #8F55D4
monochromatic
#8B8723 #BCB730 #D4CF55 #E0DD86 #EDEBB7

Accessibility & contrast

On white

1.63
#D4CF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#D4CF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF55
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF55#FFFFFF#000000##000000
##D4CF551.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC847
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#E2C2B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf55;
/* rgb */ color: rgb(212, 207, 85);
/* oklch */ color: oklch(83.5% 0.143 106.9);
Tailwind
colors: {
  custom: {
    50: '#e4dd8a',
    500: '#d4cf55',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf55;
$custom-light: #e4dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf55",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 57.638,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83541,
    "c": 0.14271,
    "h": 106.9
  },
  "luminance": 0.59279
}

Semantic roles & 50–950 ramp

primary
#D4CF55
secondary
#3C3F91
accent
#4BE345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D4CF55

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

Preview Lab → · Contrast checker → · Palette generator →

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