#D7C75A#D7C75A

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

Color values

HEX#D7C75A
RGBrgb(215, 199, 90)
HSLhsl(52, 61%, 60%)
HSVhsv(52, 58%, 84%)
CMYKcmyk(0%, 7.4%, 58.1%, 15.7%)
CIE-LABlab(79.63, -7.79, 55.45)
CIE-LCHlch(79.63, 56.00, 98.00°)
OKLaboklab(82.18% -0.025 0.1283)
OKLCHoklch(82.18% 0.131 101)
XYZxyz(50.2950, 56.0341, 17.8372)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C75A #5A6AD7
analogous
#D7895A #D7C75A #A9D75A
triadic
#D7C75A #5AD7C7 #C75AD7
tetradic
#D7C75A #5AD789 #5A6AD7 #D75AA9
square
#D7C75A #5AD789 #5A6AD7 #D75AA9
split-complementary
#D7C75A #5AA9D7 #895AD7
monochromatic
#938524 #C4B130 #D7C75A #E3D88B #EFE8BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C75A#FFFFFF#000000##000000
##D7C75A1.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)
#D8C24F
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#E6BAAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c75a;
/* rgb */ color: rgb(215, 199, 90);
/* oklch */ color: oklch(82.2% 0.131 101.0);
Tailwind
colors: {
  custom: {
    50: '#e6d78c',
    500: '#d7c75a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c75a;
$custom-light: #e6d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c75a",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 90
  },
  "hsl": {
    "h": 52.32,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82175,
    "c": 0.1307,
    "h": 101
  },
  "luminance": 0.56032
}

Semantic roles & 50–950 ramp

primary
#D7C75A
secondary
#3D4998
accent
#58E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C75A

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

Preview Lab → · Contrast checker → · Palette generator →

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