#D4C255#D4C255

#D4C255 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.8% C 0.130 H 100.0°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#D4C255
RGBrgb(212, 194, 85)
HSLhsl(51, 60%, 58%)
HSVhsv(51, 60%, 83%)
CMYKcmyk(0%, 8.5%, 59.9%, 16.9%)
CIE-LABlab(78.02, -6.83, 55.82)
CIE-LCHlch(78.02, 56.24, 96.98°)
OKLaboklab(80.82% -0.0226 0.1285)
OKLCHoklch(80.82% 0.13 100)
XYZxyz(48.0847, 53.2385, 16.3358)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C255 #5567D4
analogous
#D48255 #D4C255 #A6D455
triadic
#D4C255 #55D4C2 #C255D4
tetradic
#D4C255 #55D482 #5567D4 #D455A6
square
#D4C255 #55D482 #5567D4 #D455A6
split-complementary
#D4C255 #55A6D4 #8255D4
monochromatic
#8B7D23 #BCA830 #D4C255 #E0D486 #EDE5B7

Accessibility & contrast

On white

1.80
#D4C255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.65
#D4C255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C255
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C255#FFFFFF#000000##000000
##D4C2551.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD49
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#E3B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c255;
/* rgb */ color: rgb(212, 194, 85);
/* oklch */ color: oklch(80.8% 0.130 100.0);
Tailwind
colors: {
  custom: {
    50: '#e4d489',
    500: '#d4c255',
    950: '#000000',
  },
}
SCSS
$custom: #d4c255;
$custom-light: #e4d489;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c255",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 85
  },
  "hsl": {
    "h": 51.496,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.80815,
    "c": 0.13049,
    "h": 100
  },
  "luminance": 0.53236
}

Semantic roles & 50–950 ramp

primary
#D4C255
secondary
#3C4891
accent
#5BE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D4C255

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

Preview Lab → · Contrast checker → · Palette generator →

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