#D4CF54#D4CF54

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

Color values

HEX#D4CF54
RGBrgb(212, 207, 84)
HSLhsl(58, 60%, 58%)
HSVhsv(58, 60%, 83%)
CMYKcmyk(0%, 2.4%, 60.4%, 16.9%)
CIE-LABlab(81.44, -13.51, 60.02)
CIE-LCHlch(81.44, 61.52, 102.69°)
OKLaboklab(83.53% -0.0418 0.1373)
OKLCHoklch(83.53% 0.144 106.9)
XYZxyz(51.0661, 59.2644, 17.1350)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF54 #5459D4
analogous
#D48F54 #D4CF54 #99D454
triadic
#D4CF54 #54D4CF #CF54D4
tetradic
#D4CF54 #54D48F #5459D4 #D45499
square
#D4CF54 #54D48F #5459D4 #D45499
split-complementary
#D4CF54 #5499D4 #8F54D4
monochromatic
#8B8723 #BCB62F #D4CF54 #E0DD85 #EDEAB6

Accessibility & contrast

On white

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

On black

12.85
#D4CF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF54
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF54#FFFFFF#000000##000000
##D4CF541.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4cf54;
/* rgb */ color: rgb(212, 207, 84);
/* oklch */ color: oklch(83.5% 0.144 106.9);
Tailwind
colors: {
  custom: {
    50: '#e4dd89',
    500: '#d4cf54',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf54;
$custom-light: #e4dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf54",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 57.656,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83531,
    "c": 0.14352,
    "h": 106.9
  },
  "luminance": 0.59263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4CF54

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

Preview Lab → · Contrast checker → · Palette generator →

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