#D7C75B#D7C75B

#D7C75B is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.2% C 0.130 H 101.0°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#D7C75B
RGBrgb(215, 199, 91)
HSLhsl(52, 61%, 60%)
HSVhsv(52, 58%, 84%)
CMYKcmyk(0%, 7.4%, 57.7%, 15.7%)
CIE-LABlab(79.64, -7.72, 55.01)
CIE-LCHlch(79.64, 55.55, 97.99°)
OKLaboklab(82.19% -0.0247 0.1275)
OKLCHoklch(82.19% 0.13 101)
XYZxyz(50.3379, 56.0512, 18.0629)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C75B #5B6BD7
analogous
#D7895B #D7C75B #A9D75B
triadic
#D7C75B #5BD7C7 #C75BD7
tetradic
#D7C75B #5BD789 #5B6BD7 #D75BA9
square
#D7C75B #5BD789 #5B6BD7 #D75BA9
split-complementary
#D7C75B #5BA9D7 #895BD7
monochromatic
#948524 #C5B230 #D7C75B #E3D88C #EFE9BD

Accessibility & contrast

On white

1.72
#D7C75B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#D7C75B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C75B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C75B#FFFFFF#000000##000000
##D7C75B1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C250
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#E6BAAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c75b;
/* rgb */ color: rgb(215, 199, 91);
/* oklch */ color: oklch(82.2% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#e6d78d',
    500: '#d7c75b',
    950: '#000000',
  },
}
SCSS
$custom: #d7c75b;
$custom-light: #e6d78d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c75b",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 91
  },
  "hsl": {
    "h": 52.258,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.82186,
    "c": 0.12982,
    "h": 101
  },
  "luminance": 0.56049
}

Semantic roles & 50–950 ramp

primary
#D7C75B
secondary
#3E4999
accent
#59E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7C75B

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

Preview Lab → · Contrast checker → · Palette generator →

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