#D4C44F#D4C44F

#D4C44F is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.2% C 0.137 H 101.5°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D4C44F
RGBrgb(212, 196, 79)
HSLhsl(53, 61%, 57%)
HSVhsv(53, 63%, 83%)
CMYKcmyk(0%, 7.5%, 62.7%, 16.9%)
CIE-LABlab(78.49, -8.26, 58.97)
CIE-LCHlch(78.49, 59.55, 97.97°)
OKLaboklab(81.17% -0.0274 0.1344)
OKLCHoklch(81.17% 0.137 101.5)
XYZxyz(48.3045, 54.0434, 15.2826)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C44F #4F5FD4
analogous
#D4824F #D4C44F #A2D44F
triadic
#D4C44F #4FD4C4 #C44FD4
tetradic
#D4C44F #4FD482 #4F5FD4 #D44FA2
square
#D4C44F #4FD482 #4F5FD4 #D44FA2
split-complementary
#D4C44F #4FA2D4 #824FD4
monochromatic
#877B21 #B9A82D #D4C44F #E0D480 #ECE5B1

Accessibility & contrast

On white

1.78
#D4C44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D4C44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C44F
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C44F#FFFFFF#000000##000000
##D4C44F1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE41
Deuteranopia (green-blind)
#DAC555
Tritanopia (blue-blind)
#E3B7AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c44f;
/* rgb */ color: rgb(212, 196, 79);
/* oklch */ color: oklch(81.2% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#e4d585',
    500: '#d4c44f',
    950: '#000000',
  },
}
SCSS
$custom: #d4c44f;
$custom-light: #e4d585;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c44f",
  "rgb": {
    "r": 212,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 52.782,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81172,
    "c": 0.13715,
    "h": 101.5
  },
  "luminance": 0.54041
}

Semantic roles & 50–950 ramp

primary
#D4C44F
secondary
#39438E
accent
#57E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C44F

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

Preview Lab → · Contrast checker → · Palette generator →

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