#D4C055#D4C055

#D4C055 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.4% C 0.129 H 98.8°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#D4C055
RGBrgb(212, 192, 85)
HSLhsl(51, 60%, 58%)
HSVhsv(51, 60%, 83%)
CMYKcmyk(0%, 9.4%, 59.9%, 16.9%)
CIE-LABlab(77.49, -5.80, 55.24)
CIE-LCHlch(77.49, 55.54, 96.00°)
OKLaboklab(80.4% -0.0197 0.1273)
OKLCHoklch(80.4% 0.129 98.8)
XYZxyz(47.6426, 52.3543, 16.1884)
Luminance0.5235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C055 #5569D4
analogous
#D48055 #D4C055 #A8D455
triadic
#D4C055 #55D4C0 #C055D4
tetradic
#D4C055 #55D480 #5569D4 #D455A8
square
#D4C055 #55D480 #5569D4 #D455A8
split-complementary
#D4C055 #55A8D4 #8055D4
monochromatic
#8B7B23 #BCA630 #D4C055 #E0D286 #EDE4B7

Accessibility & contrast

On white

1.83
#D4C055 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#D4C055 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C055
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C055#FFFFFF#000000##000000
##D4C0551.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB4A
Deuteranopia (green-blind)
#D6C35A
Tritanopia (blue-blind)
#E3B3A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d4c055;
/* rgb */ color: rgb(212, 192, 85);
/* oklch */ color: oklch(80.4% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#e4d289',
    500: '#d4c055',
    950: '#000000',
  },
}
SCSS
$custom: #d4c055;
$custom-light: #e4d289;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c055",
  "rgb": {
    "r": 212,
    "g": 192,
    "b": 85
  },
  "hsl": {
    "h": 50.551,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.804,
    "c": 0.12878,
    "h": 98.8
  },
  "luminance": 0.52352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C055

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

Preview Lab → · Contrast checker → · Palette generator →

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