#D7C959#D7C959

#D7C959 is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.133 H 102.2°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#D7C959
RGBrgb(215, 201, 89)
HSLhsl(53, 61%, 60%)
HSVhsv(53, 59%, 84%)
CMYKcmyk(0%, 6.5%, 58.6%, 15.7%)
CIE-LABlab(80.15, -8.89, 56.48)
CIE-LCHlch(80.15, 57.17, 98.94°)
OKLaboklab(82.58% -0.0282 0.1304)
OKLCHoklch(82.58% 0.133 102.2)
XYZxyz(50.7160, 56.9435, 17.7690)
Luminance0.5694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C959 #5967D7
analogous
#D78A59 #D7C959 #A6D759
triadic
#D7C959 #59D7C9 #C959D7
tetradic
#D7C959 #59D78A #5967D7 #D759A6
square
#D7C959 #59D78A #5967D7 #D759A6
split-complementary
#D7C959 #59A6D7 #8A59D7
monochromatic
#928623 #C4B32F #D7C959 #E3D98A #EFE9BC

Accessibility & contrast

On white

1.70
#D7C959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#D7C959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C959
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C959#FFFFFF#000000##000000
##D7C9591.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC34D
Deuteranopia (green-blind)
#DECA5F
Tritanopia (blue-blind)
#E6BCB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c959;
/* rgb */ color: rgb(215, 201, 89);
/* oklch */ color: oklch(82.6% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#e6d98c',
    500: '#d7c959',
    950: '#000000',
  },
}
SCSS
$custom: #d7c959;
$custom-light: #e6d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c959",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 89
  },
  "hsl": {
    "h": 53.333,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82581,
    "c": 0.13338,
    "h": 102.2
  },
  "luminance": 0.56942
}

Semantic roles & 50–950 ramp

primary
#D7C959
secondary
#3D4798
accent
#55E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C959

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

Preview Lab → · Contrast checker → · Palette generator →

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