#D4C154#D4C154

#D4C154 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.130 H 99.5°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#D4C154
RGBrgb(212, 193, 84)
HSLhsl(51, 60%, 58%)
HSVhsv(51, 60%, 83%)
CMYKcmyk(0%, 9%, 60.4%, 16.9%)
CIE-LABlab(77.74, -6.39, 55.97)
CIE-LCHlch(77.74, 56.33, 96.51°)
OKLaboklab(80.6% -0.0215 0.1287)
OKLCHoklch(80.6% 0.13 99.5)
XYZxyz(47.8235, 52.7791, 16.0541)
Luminance0.5278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C154 #5467D4
analogous
#D48154 #D4C154 #A7D454
triadic
#D4C154 #54D4C1 #C154D4
tetradic
#D4C154 #54D481 #5467D4 #D454A7
square
#D4C154 #54D481 #5467D4 #D454A7
split-complementary
#D4C154 #54A7D4 #8154D4
monochromatic
#8B7B23 #BCA72F #D4C154 #E0D385 #EDE4B6

Accessibility & contrast

On white

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

On black

11.56
#D4C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C154
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C154#FFFFFF#000000##000000
##D4C1541.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC48
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#E3B4A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c154;
/* rgb */ color: rgb(212, 193, 84);
/* oklch */ color: oklch(80.6% 0.130 99.5);
Tailwind
colors: {
  custom: {
    50: '#e4d388',
    500: '#d4c154',
    950: '#000000',
  },
}
SCSS
$custom: #d4c154;
$custom-light: #e4d388;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c154",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 51.094,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80597,
    "c": 0.13047,
    "h": 99.5
  },
  "luminance": 0.52777
}

Semantic roles & 50–950 ramp

primary
#D4C154
secondary
#3B4891
accent
#5CE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C154

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

Preview Lab → · Contrast checker → · Palette generator →

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