#D7C059#D7C059

#D7C059 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.7% C 0.126 H 96.9°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#D7C059
RGBrgb(215, 192, 89)
HSLhsl(49, 61%, 60%)
HSVhsv(49, 59%, 84%)
CMYKcmyk(0%, 10.7%, 58.6%, 15.7%)
CIE-LABlab(77.80, -4.26, 53.84)
CIE-LCHlch(77.80, 54.01, 94.53°)
OKLaboklab(80.72% -0.015 0.1247)
OKLCHoklch(80.72% 0.126 96.9)
XYZxyz(48.6791, 52.8698, 17.0900)
Luminance0.5287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C059 #5970D7
analogous
#D78159 #D7C059 #AFD759
triadic
#D7C059 #59D7C0 #C059D7
tetradic
#D7C059 #59D781 #5970D7 #D759AF
square
#D7C059 #59D781 #5970D7 #D759AF
split-complementary
#D7C059 #59AFD7 #8159D7
monochromatic
#927E23 #C4A92F #D7C059 #E3D38A #EFE5BC

Accessibility & contrast

On white

1.81
#D7C059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#D7C059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C059
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C059#FFFFFF#000000##000000
##D7C0591.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC4E
Deuteranopia (green-blind)
#D7C45E
Tritanopia (blue-blind)
#E6B3A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d7c059;
/* rgb */ color: rgb(215, 192, 89);
/* oklch */ color: oklch(80.7% 0.126 96.9);
Tailwind
colors: {
  custom: {
    50: '#e6d28b',
    500: '#d7c059',
    950: '#000000',
  },
}
SCSS
$custom: #d7c059;
$custom-light: #e6d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c059",
  "rgb": {
    "r": 215,
    "g": 192,
    "b": 89
  },
  "hsl": {
    "h": 49.048,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80718,
    "c": 0.1256,
    "h": 96.9
  },
  "luminance": 0.52868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C059

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

Preview Lab → · Contrast checker → · Palette generator →

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