#D4CA4D#D4CA4D

#D4CA4D is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.4% C 0.144 H 104.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D4CA4D
RGBrgb(212, 202, 77)
HSLhsl(56, 61%, 57%)
HSVhsv(56, 64%, 83%)
CMYKcmyk(0%, 4.7%, 63.7%, 16.9%)
CIE-LABlab(80.05, -11.44, 61.48)
CIE-LCHlch(80.05, 62.54, 100.54°)
OKLaboklab(82.41% -0.0367 0.1394)
OKLCHoklch(82.41% 0.144 104.7)
XYZxyz(49.6133, 56.7757, 15.3651)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CA4D #4D57D4
analogous
#D4874D #D4CA4D #9AD44D
triadic
#D4CA4D #4DD4CA #CA4DD4
tetradic
#D4CA4D #4DD487 #4D57D4 #D44D9A
square
#D4CA4D #4DD487 #4D57D4 #D44D9A
split-complementary
#D4CA4D #4D9AD4 #874DD4
monochromatic
#867F20 #B7AD2C #D4CA4D #E0D97E #ECE7B0

Accessibility & contrast

On white

1.70
#D4CA4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#D4CA4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4CA4D
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4CA4D#FFFFFF#000000##000000
##D4CA4D1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33D
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#E3BDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4ca4d;
/* rgb */ color: rgb(212, 202, 77);
/* oklch */ color: oklch(82.4% 0.144 104.7);
Tailwind
colors: {
  custom: {
    50: '#e4d985',
    500: '#d4ca4d',
    950: '#000000',
  },
}
SCSS
$custom: #d4ca4d;
$custom-light: #e4d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ca4d",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 77
  },
  "hsl": {
    "h": 55.556,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82411,
    "c": 0.14415,
    "h": 104.7
  },
  "luminance": 0.56774
}

Semantic roles & 50–950 ramp

primary
#D4CA4D
secondary
#383F8D
accent
#4FE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4CA4D

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

Preview Lab → · Contrast checker → · Palette generator →

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