#D4C149#D4C149

#D4C149 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.5% C 0.139 H 100.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D4C149
RGBrgb(212, 193, 73)
HSLhsl(52, 62%, 56%)
HSVhsv(52, 66%, 83%)
CMYKcmyk(0%, 9%, 65.6%, 16.9%)
CIE-LABlab(77.65, -7.09, 60.62)
CIE-LCHlch(77.65, 61.03, 96.67°)
OKLaboklab(80.49% -0.0247 0.137)
OKLCHoklch(80.49% 0.139 100.2)
XYZxyz(47.4260, 52.6201, 13.9606)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C149 #495CD4
analogous
#D47B49 #D4C149 #A1D449
triadic
#D4C149 #49D4C1 #C149D4
tetradic
#D4C149 #49D47B #495CD4 #D449A1
square
#D4C149 #49D47B #495CD4 #D449A1
split-complementary
#D4C149 #49A1D4 #7B49D4
monochromatic
#84761F #B5A22B #D4C149 #E0D27B #EBE3AC

Accessibility & contrast

On white

1.82
#D4C149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D4C149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C149
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C149#FFFFFF#000000##000000
##D4C1491.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3A
Deuteranopia (green-blind)
#D8C350
Tritanopia (blue-blind)
#E4B4A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c149;
/* rgb */ color: rgb(212, 193, 73);
/* oklch */ color: oklch(80.5% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#e5d382',
    500: '#d4c149',
    950: '#000000',
  },
}
SCSS
$custom: #d4c149;
$custom-light: #e5d382;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c149",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 73
  },
  "hsl": {
    "h": 51.799,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80492,
    "c": 0.13918,
    "h": 100.2
  },
  "luminance": 0.52618
}

Semantic roles & 50–950 ramp

primary
#D4C149
secondary
#37428A
accent
#59E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D4C149

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

Preview Lab → · Contrast checker → · Palette generator →

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