#D7C95A#D7C95A

#D7C95A is a very light, vivid yellow. Relative luminance 0.570; 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#D7C95A
RGBrgb(215, 201, 90)
HSLhsl(53, 61%, 60%)
HSVhsv(53, 58%, 84%)
CMYKcmyk(0%, 6.5%, 58.1%, 15.7%)
CIE-LABlab(80.16, -8.81, 56.04)
CIE-LCHlch(80.16, 56.73, 98.94°)
OKLaboklab(82.59% -0.0279 0.1295)
OKLCHoklch(82.59% 0.133 102.2)
XYZxyz(50.7582, 56.9605, 17.9916)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C95A #5A68D7
analogous
#D78B5A #D7C95A #A7D75A
triadic
#D7C95A #5AD7C9 #C95AD7
tetradic
#D7C95A #5AD78B #5A68D7 #D75AA7
square
#D7C95A #5AD78B #5A68D7 #D75AA7
split-complementary
#D7C95A #5AA7D7 #8B5AD7
monochromatic
#938724 #C4B430 #D7C95A #E3D98B #EFE9BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C95A#FFFFFF#000000##000000
##D7C95A1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c95a;
/* rgb */ color: rgb(215, 201, 90);
/* oklch */ color: oklch(82.6% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#e6d98c',
    500: '#d7c95a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c95a;
$custom-light: #e6d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c95a",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 90
  },
  "hsl": {
    "h": 53.28,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82591,
    "c": 0.13252,
    "h": 102.2
  },
  "luminance": 0.56959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7C95A

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

Preview Lab → · Contrast checker → · Palette generator →

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