#D5D95C#D5D95C

#D5D95C is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.147 H 110.8°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#D5D95C
RGBrgb(213, 217, 92)
HSLhsl(62, 62%, 61%)
HSVhsv(62, 58%, 85%)
CMYKcmyk(1.8%, 0%, 57.6%, 14.9%)
CIE-LABlab(84.25, -17.52, 59.67)
CIE-LCHlch(84.25, 62.19, 106.36°)
OKLaboklab(85.82% -0.0523 0.1376)
OKLCHoklch(85.82% 0.147 110.8)
XYZxyz(54.1866, 64.5458, 19.7273)
Luminance0.6454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D95C #605CD9
analogous
#D99E5C #D5D95C #96D95C
triadic
#D5D95C #5CD5D9 #D95CD5
tetradic
#D5D95C #5CD99E #605CD9 #D95C96
square
#D5D95C #5CD99E #605CD9 #D95C96
split-complementary
#D5D95C #5C96D9 #9E5CD9
monochromatic
#949723 #C4C92F #D5D95C #E2E58E #EFF0BF

Accessibility & contrast

On white

1.51
#D5D95C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#D5D95C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D95C
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D95C#FFFFFF#000000##000000
##D5D95C1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04E
Deuteranopia (green-blind)
#E9D463
Tritanopia (blue-blind)
#E2CDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d95c;
/* rgb */ color: rgb(213, 217, 92);
/* oklch */ color: oklch(85.8% 0.147 110.8);
Tailwind
colors: {
  custom: {
    50: '#e5e48f',
    500: '#d5d95c',
    950: '#000000',
  },
}
SCSS
$custom: #d5d95c;
$custom-light: #e5e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d95c",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 92
  },
  "hsl": {
    "h": 61.92,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85816,
    "c": 0.1472,
    "h": 110.8
  },
  "luminance": 0.64545
}

Semantic roles & 50–950 ramp

primary
#D5D95C
secondary
#403D9C
accent
#1CCA21
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D95C

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

Preview Lab → · Contrast checker → · Palette generator →

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