#D1C95D#D1C95D

#D1C95D is a very light, vivid yellow. Relative luminance 0.561; OKLCH L 82.1% C 0.130 H 105.0°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#D1C95D
RGBrgb(209, 201, 93)
HSLhsl(56, 56%, 59%)
HSVhsv(56, 56%, 82%)
CMYKcmyk(0%, 3.8%, 55.5%, 18%)
CIE-LABlab(79.68, -11.07, 54.00)
CIE-LCHlch(79.68, 55.13, 101.59°)
OKLaboklab(82.1% -0.0337 0.1257)
OKLCHoklch(82.1% 0.13 105)
XYZxyz(49.1584, 56.1205, 18.5967)
Luminance0.5612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C95D #5D65D1
analogous
#D18F5D #D1C95D #9FD15D
triadic
#D1C95D #5DD1C9 #C95DD1
tetradic
#D1C95D #5DD18F #5D65D1 #D15D9F
square
#D1C95D #5DD18F #5D65D1 #D15D9F
split-complementary
#D1C95D #5D9FD1 #8F5DD1
monochromatic
#8C8528 #BCB235 #D1C95D #DFD98D #ECE9BC

Accessibility & contrast

On white

1.72
#D1C95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#D1C95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C95D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C95D#FFFFFF#000000##000000
##D1C95D1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C352
Deuteranopia (green-blind)
#DBC863
Tritanopia (blue-blind)
#DFBDB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1c95d;
/* rgb */ color: rgb(209, 201, 93);
/* oklch */ color: oklch(82.1% 0.130 105.0);
Tailwind
colors: {
  custom: {
    50: '#e1d98e',
    500: '#d1c95d',
    950: '#000000',
  },
}
SCSS
$custom: #d1c95d;
$custom-light: #e1d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c95d",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 93
  },
  "hsl": {
    "h": 55.862,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82102,
    "c": 0.13009,
    "h": 105
  },
  "luminance": 0.56119
}

Semantic roles & 50–950 ramp

primary
#D1C95D
secondary
#404692
accent
#53DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D1C95D

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

Preview Lab → · Contrast checker → · Palette generator →

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