#D7C95E#D7C95E

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

Color values

HEX#D7C95E
RGBrgb(215, 201, 94)
HSLhsl(53, 60%, 61%)
HSVhsv(53, 56%, 84%)
CMYKcmyk(0%, 6.5%, 56.3%, 15.7%)
CIE-LABlab(80.20, -8.52, 54.27)
CIE-LCHlch(80.20, 54.93, 98.92°)
OKLaboklab(82.64% -0.0266 0.1262)
OKLCHoklch(82.64% 0.129 101.9)
XYZxyz(50.9331, 57.0304, 18.9126)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C95E #5E6CD7
analogous
#D78C5E #D7C95E #A8D75E
triadic
#D7C95E #5ED7C9 #C95ED7
tetradic
#D7C95E #5ED78C #5E6CD7 #D75EA8
square
#D7C95E #5ED78C #5E6CD7 #D75EA8
split-complementary
#D7C95E #5EA8D7 #8C5ED7
monochromatic
#958825 #C6B531 #D7C95E #E3D98F #EFEAC0

Accessibility & contrast

On white

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

On black

12.41
#D7C95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C95E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C95E#FFFFFF#000000##000000
##D7C95E1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C353
Deuteranopia (green-blind)
#DECA63
Tritanopia (blue-blind)
#E6BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c95e;
/* rgb */ color: rgb(215, 201, 94);
/* oklch */ color: oklch(82.6% 0.129 101.9);
Tailwind
colors: {
  custom: {
    50: '#e6d98f',
    500: '#d7c95e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c95e;
$custom-light: #e6d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c95e",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 53.058,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82635,
    "c": 0.12899,
    "h": 101.9
  },
  "luminance": 0.57029
}

Semantic roles & 50–950 ramp

primary
#D7C95E
secondary
#3F499A
accent
#31C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C95E

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

Preview Lab → · Contrast checker → · Palette generator →

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