#D7C159#D7C159

#D7C159 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.9% C 0.126 H 97.5°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#D7C159
RGBrgb(215, 193, 89)
HSLhsl(50, 61%, 60%)
HSVhsv(50, 59%, 84%)
CMYKcmyk(0%, 10.2%, 58.6%, 15.7%)
CIE-LABlab(78.06, -4.78, 54.13)
CIE-LCHlch(78.06, 54.34, 95.04°)
OKLaboklab(80.92% -0.0165 0.1253)
OKLCHoklch(80.92% 0.126 97.5)
XYZxyz(48.8994, 53.3104, 17.1635)
Luminance0.5331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C159 #596FD7
analogous
#D78259 #D7C159 #AED759
triadic
#D7C159 #59D7C1 #C159D7
tetradic
#D7C159 #59D782 #596FD7 #D759AE
square
#D7C159 #59D782 #596FD7 #D759AE
split-complementary
#D7C159 #59AED7 #8259D7
monochromatic
#927F23 #C4AA2F #D7C159 #E3D38A #EFE6BC

Accessibility & contrast

On white

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

On black

11.66
#D7C159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C159
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C159#FFFFFF#000000##000000
##D7C1591.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4E
Deuteranopia (green-blind)
#D8C45E
Tritanopia (blue-blind)
#E6B4AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c159;
/* rgb */ color: rgb(215, 193, 89);
/* oklch */ color: oklch(80.9% 0.126 97.5);
Tailwind
colors: {
  custom: {
    50: '#e6d38b',
    500: '#d7c159',
    950: '#000000',
  },
}
SCSS
$custom: #d7c159;
$custom-light: #e6d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c159",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 49.524,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80924,
    "c": 0.12641,
    "h": 97.5
  },
  "luminance": 0.53308
}

Semantic roles & 50–950 ramp

primary
#D7C159
secondary
#3D4D98
accent
#60E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C159

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

Preview Lab → · Contrast checker → · Palette generator →

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