#D7C95F#D7C95F

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

Color values

HEX#D7C95F
RGBrgb(215, 201, 95)
HSLhsl(53, 60%, 61%)
HSVhsv(53, 56%, 84%)
CMYKcmyk(0%, 6.5%, 55.8%, 15.7%)
CIE-LABlab(80.21, -8.44, 53.82)
CIE-LCHlch(80.21, 54.48, 98.91°)
OKLaboklab(82.65% -0.0263 0.1254)
OKLCHoklch(82.65% 0.128 101.9)
XYZxyz(50.9783, 57.0485, 19.1504)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C95F #5F6DD7
analogous
#D78D5F #D7C95F #A9D75F
triadic
#D7C95F #5FD7C9 #C95FD7
tetradic
#D7C95F #5FD78D #5F6DD7 #D75FA9
square
#D7C95F #5FD78D #5F6DD7 #D75FA9
split-complementary
#D7C95F #5FA9D7 #8D5FD7
monochromatic
#968926 #C7B632 #D7C95F #E3DA90 #EFEAC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C95F#FFFFFF#000000##000000
##D7C95F1.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)
#D9C354
Deuteranopia (green-blind)
#DDCA64
Tritanopia (blue-blind)
#E6BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7c95f;
/* rgb */ color: rgb(215, 201, 95);
/* oklch */ color: oklch(82.6% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#e6d990',
    500: '#d7c95f',
    950: '#000000',
  },
}
SCSS
$custom: #d7c95f;
$custom-light: #e6d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c95f",
  "rgb": {
    "r": 215,
    "g": 201,
    "b": 95
  },
  "hsl": {
    "h": 53,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82647,
    "c": 0.12808,
    "h": 101.9
  },
  "luminance": 0.57047
}

Semantic roles & 50–950 ramp

primary
#D7C95F
secondary
#3F4A9B
accent
#32C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C95F

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

Preview Lab → · Contrast checker → · Palette generator →

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