#D4C249#D4C249

#D4C249 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.7% C 0.140 H 100.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#D4C249
RGBrgb(212, 194, 73)
HSLhsl(52, 62%, 56%)
HSVhsv(52, 66%, 83%)
CMYKcmyk(0%, 8.5%, 65.6%, 16.9%)
CIE-LABlab(77.91, -7.60, 60.89)
CIE-LCHlch(77.91, 61.36, 97.11°)
OKLaboklab(80.7% -0.0262 0.1375)
OKLCHoklch(80.7% 0.14 100.8)
XYZxyz(47.6478, 53.0637, 14.0345)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C249 #495BD4
analogous
#D47C49 #D4C249 #A0D449
triadic
#D4C249 #49D4C2 #C249D4
tetradic
#D4C249 #49D47C #495BD4 #D449A0
square
#D4C249 #49D47C #495BD4 #D449A0
split-complementary
#D4C249 #49A0D4 #7C49D4
monochromatic
#84771F #B5A32B #D4C249 #E0D37B #EBE3AC

Accessibility & contrast

On white

1.81
#D4C249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#D4C249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C249
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C249#FFFFFF#000000##000000
##D4C2491.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD39
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#E4B5A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c249;
/* rgb */ color: rgb(212, 194, 73);
/* oklch */ color: oklch(80.7% 0.140 100.8);
Tailwind
colors: {
  custom: {
    50: '#e5d482',
    500: '#d4c249',
    950: '#000000',
  },
}
SCSS
$custom: #d4c249;
$custom-light: #e5d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c249",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 52.23,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.807,
    "c": 0.14002,
    "h": 100.8
  },
  "luminance": 0.53062
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C249

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

Preview Lab → · Contrast checker → · Palette generator →

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