#D4C455#D4C455

#D4C455 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.132 H 101.2°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#D4C455
RGBrgb(212, 196, 85)
HSLhsl(52, 60%, 58%)
HSVhsv(52, 60%, 83%)
CMYKcmyk(0%, 7.5%, 59.9%, 16.9%)
CIE-LABlab(78.54, -7.86, 56.40)
CIE-LCHlch(78.54, 56.95, 97.93°)
OKLaboklab(81.23% -0.0256 0.1298)
OKLCHoklch(81.23% 0.132 101.2)
XYZxyz(48.5328, 54.1347, 16.4852)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C455 #5565D4
analogous
#D48455 #D4C455 #A4D455
triadic
#D4C455 #55D4C4 #C455D4
tetradic
#D4C455 #55D484 #5565D4 #D455A4
square
#D4C455 #55D484 #5565D4 #D455A4
split-complementary
#D4C455 #55A4D4 #8455D4
monochromatic
#8B7E23 #BCAA30 #D4C455 #E0D586 #EDE6B7

Accessibility & contrast

On white

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

On black

11.83
#D4C455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C455
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C455#FFFFFF#000000##000000
##D4C4551.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF49
Deuteranopia (green-blind)
#D9C55B
Tritanopia (blue-blind)
#E3B7AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d4c455;
/* rgb */ color: rgb(212, 196, 85);
/* oklch */ color: oklch(81.2% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#e4d589',
    500: '#d4c455',
    950: '#000000',
  },
}
SCSS
$custom: #d4c455;
$custom-light: #e4d589;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c455",
  "rgb": {
    "r": 212,
    "g": 196,
    "b": 85
  },
  "hsl": {
    "h": 52.441,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81231,
    "c": 0.13225,
    "h": 101.2
  },
  "luminance": 0.54133
}

Semantic roles & 50–950 ramp

primary
#D4C455
secondary
#3C4791
accent
#59E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C455

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

Preview Lab → · Contrast checker → · Palette generator →

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