#D4CF4D#D4CF4D

#D4CF4D is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.149 H 107.1°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D4CF4D
RGBrgb(212, 207, 77)
HSLhsl(58, 61%, 57%)
HSVhsv(58, 64%, 83%)
CMYKcmyk(0%, 2.4%, 63.7%, 16.9%)
CIE-LABlab(81.38, -13.96, 62.88)
CIE-LCHlch(81.38, 64.41, 102.51°)
OKLaboklab(83.47% -0.0438 0.1424)
OKLCHoklch(83.47% 0.149 107.1)
XYZxyz(50.8055, 59.1601, 15.7625)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CF4D #4D52D4
analogous
#D48C4D #D4CF4D #96D44D
triadic
#D4CF4D #4DD4CF #CF4DD4
tetradic
#D4CF4D #4DD48C #4D52D4 #D44D96
square
#D4CF4D #4DD48C #4D52D4 #D44D96
split-complementary
#D4CF4D #4D96D4 #8C4DD4
monochromatic
#868220 #B7B22C #D4CF4D #E0DC7E #ECEAB0

Accessibility & contrast

On white

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

On black

12.83
#D4CF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CF4D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CF4D#FFFFFF#000000##000000
##D4CF4D1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C73C
Deuteranopia (green-blind)
#E2CD55
Tritanopia (blue-blind)
#E3C2B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d4cf4d;
/* rgb */ color: rgb(212, 207, 77);
/* oklch */ color: oklch(83.5% 0.149 107.1);
Tailwind
colors: {
  custom: {
    50: '#e4dd85',
    500: '#d4cf4d',
    950: '#000000',
  },
}
SCSS
$custom: #d4cf4d;
$custom-light: #e4dd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d4cf4d",
  "rgb": {
    "r": 212,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 57.778,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83467,
    "c": 0.14895,
    "h": 107.1
  },
  "luminance": 0.59159
}

Semantic roles & 50–950 ramp

primary
#D4CF4D
secondary
#383C8D
accent
#4AE444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4CF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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