#D8C95D#D8C95D

#D8C95D is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.7% C 0.130 H 101.5°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D8C95D
RGBrgb(216, 201, 93)
HSLhsl(53, 61%, 61%)
HSVhsv(53, 57%, 85%)
CMYKcmyk(0%, 6.9%, 56.9%, 15.3%)
CIE-LABlab(80.27, -8.18, 54.83)
CIE-LCHlch(80.27, 55.44, 98.48°)
OKLaboklab(82.71% -0.0258 0.1273)
OKLCHoklch(82.71% 0.13 101.5)
XYZxyz(51.1831, 57.1645, 18.6916)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C95D #5D6CD8
analogous
#D88B5D #D8C95D #A9D85D
triadic
#D8C95D #5DD8C9 #C95DD8
tetradic
#D8C95D #5DD88B #5D6CD8 #D85DA9
square
#D8C95D #5DD88B #5D6CD8 #D85DA9
split-complementary
#D8C95D #5DA9D8 #8B5DD8
monochromatic
#968824 #C8B530 #D8C95D #E4D98E #F0EAC0

Accessibility & contrast

On white

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

On black

12.43
#D8C95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C95D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C95D#FFFFFF#000000##000000
##D8C95D1.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#E7BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d8c95d;
/* rgb */ color: rgb(216, 201, 93);
/* oklch */ color: oklch(82.7% 0.130 101.5);
Tailwind
colors: {
  custom: {
    50: '#e7d98e',
    500: '#d8c95d',
    950: '#000000',
  },
}
SCSS
$custom: #d8c95d;
$custom-light: #e7d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c95d",
  "rgb": {
    "r": 216,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 52.683,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.82712,
    "c": 0.12989,
    "h": 101.5
  },
  "luminance": 0.57163
}

Semantic roles & 50–950 ramp

primary
#D8C95D
secondary
#3E499B
accent
#32C91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D8C95D

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

Preview Lab → · Contrast checker → · Palette generator →

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