#D7C459#D7C459

#D7C459 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.5% C 0.129 H 99.3°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#D7C459
RGBrgb(215, 196, 89)
HSLhsl(51, 61%, 60%)
HSVhsv(51, 59%, 84%)
CMYKcmyk(0%, 8.8%, 58.6%, 15.7%)
CIE-LABlab(78.84, -6.33, 55.01)
CIE-LCHlch(78.84, 55.37, 96.56°)
OKLaboklab(81.54% -0.0209 0.1272)
OKLCHoklch(81.54% 0.129 99.3)
XYZxyz(49.5693, 54.6503, 17.3868)
Luminance0.5465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C459 #596CD7
analogous
#D78559 #D7C459 #ABD759
triadic
#D7C459 #59D7C4 #C459D7
tetradic
#D7C459 #59D785 #596CD7 #D759AB
square
#D7C459 #59D785 #596CD7 #D759AB
split-complementary
#D7C459 #59ABD7 #8559D7
monochromatic
#928223 #C4AD2F #D7C459 #E3D68A #EFE7BC

Accessibility & contrast

On white

1.76
#D7C459 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#D7C459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C459
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C459#FFFFFF#000000##000000
##D7C4591.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4E
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#E6B7AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d7c459;
/* rgb */ color: rgb(215, 196, 89);
/* oklch */ color: oklch(81.5% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#e6d58b',
    500: '#d7c459',
    950: '#000000',
  },
}
SCSS
$custom: #d7c459;
$custom-light: #e6d58b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c459",
  "rgb": {
    "r": 215,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 50.952,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81543,
    "c": 0.12892,
    "h": 99.3
  },
  "luminance": 0.54648
}

Semantic roles & 50–950 ramp

primary
#D7C459
secondary
#3D4A98
accent
#5CE444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C459

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

Preview Lab → · Contrast checker → · Palette generator →

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