#D4CA4B#D4CA4B

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

Color values

HEX#D4CA4B
RGBrgb(212, 202, 75)
HSLhsl(56, 61%, 56%)
HSVhsv(56, 65%, 83%)
CMYKcmyk(0%, 4.7%, 64.6%, 16.9%)
CIE-LABlab(80.04, -11.56, 62.29)
CIE-LCHlch(80.04, 63.35, 100.51°)
OKLaboklab(82.39% -0.0372 0.1408)
OKLCHoklch(82.39% 0.146 104.8)
XYZxyz(49.5438, 56.7479, 14.9989)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4CA4B #4B55D4
analogous
#D4864B #D4CA4B #9AD44B
triadic
#D4CA4B #4BD4CA #CA4BD4
tetradic
#D4CA4B #4BD486 #4B55D4 #D44B9A
square
#D4CA4B #4BD486 #4B55D4 #D44B9A
split-complementary
#D4CA4B #4B9AD4 #864BD4
monochromatic
#857D20 #B6AC2C #D4CA4B #E0D97C #ECE7AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4CA4B#FFFFFF#000000##000000
##D4CA4B1.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)
#DBC33B
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#E3BDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d4ca4b;
/* rgb */ color: rgb(212, 202, 75);
/* oklch */ color: oklch(82.4% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e4d983',
    500: '#d4ca4b',
    950: '#000000',
  },
}
SCSS
$custom: #d4ca4b;
$custom-light: #e4d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d4ca4b",
  "rgb": {
    "r": 212,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 55.62,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82394,
    "c": 0.14565,
    "h": 104.8
  },
  "luminance": 0.56746
}

Semantic roles & 50–950 ramp

primary
#D4CA4B
secondary
#383E8C
accent
#4FE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4CA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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