#D4C256#D4C256

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

Color values

HEX#D4C256
RGBrgb(212, 194, 86)
HSLhsl(51, 59%, 58%)
HSVhsv(51, 59%, 83%)
CMYKcmyk(0%, 8.5%, 59.4%, 16.9%)
CIE-LABlab(78.03, -6.76, 55.38)
CIE-LCHlch(78.03, 55.80, 96.96°)
OKLaboklab(80.83% -0.0223 0.1277)
OKLCHoklch(80.83% 0.13 99.9)
XYZxyz(48.1247, 53.2545, 16.5465)
Luminance0.5325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C256 #5668D4
analogous
#D48356 #D4C256 #A7D456
triadic
#D4C256 #56D4C2 #C256D4
tetradic
#D4C256 #56D483 #5668D4 #D456A7
square
#D4C256 #56D483 #5668D4 #D456A7
split-complementary
#D4C256 #56A7D4 #8356D4
monochromatic
#8C7D24 #BDA930 #D4C256 #E0D487 #EDE5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4C256#FFFFFF#000000##000000
##D4C2561.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)
#D3BD4A
Deuteranopia (green-blind)
#D8C45B
Tritanopia (blue-blind)
#E3B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d4c256;
/* rgb */ color: rgb(212, 194, 86);
/* oklch */ color: oklch(80.8% 0.130 99.9);
Tailwind
colors: {
  custom: {
    50: '#e4d489',
    500: '#d4c256',
    950: '#000000',
  },
}
SCSS
$custom: #d4c256;
$custom-light: #e4d489;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c256",
  "rgb": {
    "r": 212,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 51.429,
    "s": 59.434,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80825,
    "c": 0.12964,
    "h": 99.9
  },
  "luminance": 0.53253
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4C256

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

Preview Lab → · Contrast checker → · Palette generator →

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