#D4C155#D4C155

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

Color values

HEX#D4C155
RGBrgb(212, 193, 85)
HSLhsl(51, 60%, 58%)
HSVhsv(51, 60%, 83%)
CMYKcmyk(0%, 9%, 59.9%, 16.9%)
CIE-LABlab(77.75, -6.32, 55.53)
CIE-LCHlch(77.75, 55.89, 96.49°)
OKLaboklab(80.61% -0.0212 0.1279)
OKLCHoklch(80.61% 0.13 99.4)
XYZxyz(47.8629, 52.7949, 16.2618)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C155 #5568D4
analogous
#D48255 #D4C155 #A7D455
triadic
#D4C155 #55D4C1 #C155D4
tetradic
#D4C155 #55D482 #5568D4 #D455A7
square
#D4C155 #55D482 #5568D4 #D455A7
split-complementary
#D4C155 #55A7D4 #8255D4
monochromatic
#8B7C23 #BCA730 #D4C155 #E0D386 #EDE5B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C155#FFFFFF#000000##000000
##D4C1551.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)
#D2BC49
Deuteranopia (green-blind)
#D7C35A
Tritanopia (blue-blind)
#E3B4AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d4c155;
/* rgb */ color: rgb(212, 193, 85);
/* oklch */ color: oklch(80.6% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#e4d389',
    500: '#d4c155',
    950: '#000000',
  },
}
SCSS
$custom: #d4c155;
$custom-light: #e4d389;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c155",
  "rgb": {
    "r": 212,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 51.024,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80607,
    "c": 0.12963,
    "h": 99.4
  },
  "luminance": 0.52793
}

Semantic roles & 50–950 ramp

primary
#D4C155
secondary
#3C4991
accent
#5DE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C155

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

Preview Lab → · Contrast checker → · Palette generator →

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