#D5C256#D5C256

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

Color values

HEX#D5C256
RGBrgb(213, 194, 86)
HSLhsl(51, 60%, 59%)
HSVhsv(51, 60%, 84%)
CMYKcmyk(0%, 8.9%, 59.6%, 16.5%)
CIE-LABlab(78.11, -6.34, 55.51)
CIE-LCHlch(78.11, 55.87, 96.52°)
OKLaboklab(80.92% -0.0212 0.1279)
OKLCHoklch(80.92% 0.13 99.4)
XYZxyz(48.4140, 53.4036, 16.5600)
Luminance0.5340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C256 #5669D5
analogous
#D58256 #D5C256 #A8D556
triadic
#D5C256 #56D5C2 #C256D5
tetradic
#D5C256 #56D582 #5669D5 #D556A8
square
#D5C256 #56D582 #5669D5 #D556A8
split-complementary
#D5C256 #56A8D5 #8256D5
monochromatic
#8D7E23 #BEA92F #D5C256 #E1D487 #EDE5B8

Accessibility & contrast

On white

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

On black

11.68
#D5C256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C256
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C256#FFFFFF#000000##000000
##D5C2561.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4A
Deuteranopia (green-blind)
#D8C45B
Tritanopia (blue-blind)
#E4B5AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d5c256;
/* rgb */ color: rgb(213, 194, 86);
/* oklch */ color: oklch(80.9% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#e5d489',
    500: '#d5c256',
    950: '#000000',
  },
}
SCSS
$custom: #d5c256;
$custom-light: #e5d489;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c256",
  "rgb": {
    "r": 213,
    "g": 194,
    "b": 86
  },
  "hsl": {
    "h": 51.024,
    "s": 60.19,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80916,
    "c": 0.12968,
    "h": 99.4
  },
  "luminance": 0.53402
}

Semantic roles & 50–950 ramp

primary
#D5C256
secondary
#3C4993
accent
#5CE344
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C256

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

Preview Lab → · Contrast checker → · Palette generator →

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