#D7C95B#D7C95B

#D7C95B is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.6% C 0.132 H 102.1°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#D7C95B
RGBrgb(215, 201, 91)
HSLhsl(53, 61%, 60%)
HSVhsv(53, 58%, 84%)
CMYKcmyk(0%, 6.5%, 57.7%, 15.7%)
CIE-LABlab(80.17, -8.74, 55.60)
CIE-LCHlch(80.17, 56.28, 98.94°)
OKLaboklab(82.6% -0.0276 0.1287)
OKLCHoklch(82.6% 0.132 102.1)
XYZxyz(50.8011, 56.9776, 18.2173)
Luminance0.5698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C95B #5B69D7
analogous
#D78B5B #D7C95B #A7D75B
triadic
#D7C95B #5BD7C9 #C95BD7
tetradic
#D7C95B #5BD78B #5B69D7 #D75BA7
square
#D7C95B #5BD78B #5B69D7 #D75BA7
split-complementary
#D7C95B #5BA7D7 #8B5BD7
monochromatic
#948724 #C5B430 #D7C95B #E3D98C #EFE9BD

Accessibility & contrast

On white

1.69
#D7C95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#D7C95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C95B
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C95B#FFFFFF#000000##000000
##D7C95B1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c95b;
/* rgb */ color: rgb(215, 201, 91);
/* oklch */ color: oklch(82.6% 0.132 102.1);
Tailwind
colors: {
  custom: {
    50: '#e6d98d',
    500: '#d7c95b',
    950: '#000000',
  },
}
SCSS
$custom: #d7c95b;
$custom-light: #e6d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c95b",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 53.226,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.82602,
    "c": 0.13164,
    "h": 102.1
  },
  "luminance": 0.56976
}

Semantic roles & 50–950 ramp

primary
#D7C95B
secondary
#3E4899
accent
#56E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7C95B

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

Preview Lab → · Contrast checker → · Palette generator →

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