#D2D95D#D2D95D

#D2D95D is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.147 H 112.1°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#D2D95D
RGBrgb(210, 217, 93)
HSLhsl(63, 62%, 61%)
HSVhsv(63, 57%, 85%)
CMYKcmyk(3.2%, 0%, 57.1%, 14.9%)
CIE-LABlab(84.03, -18.66, 58.93)
CIE-LCHlch(84.03, 61.81, 107.57°)
OKLaboklab(85.59% -0.0553 0.1362)
OKLCHoklch(85.59% 0.147 112.1)
XYZxyz(53.3683, 64.1188, 19.9186)
Luminance0.6412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D95D #645DD9
analogous
#D9A25D #D2D95D #94D95D
triadic
#D2D95D #5DD2D9 #D95DD2
tetradic
#D2D95D #5DD9A2 #645DD9 #D95D94
square
#D2D95D #5DD9A2 #645DD9 #D95D94
split-complementary
#D2D95D #5D94D9 #A25DD9
monochromatic
#919824 #C1CA2F #D2D95D #E0E58F #EEF0C0

Accessibility & contrast

On white

1.52
#D2D95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.82
#D2D95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D95D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D95D#FFFFFF#000000##000000
##D2D95D1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D050
Deuteranopia (green-blind)
#E8D364
Tritanopia (blue-blind)
#DFCDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d95d;
/* rgb */ color: rgb(210, 217, 93);
/* oklch */ color: oklch(85.6% 0.147 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e48f',
    500: '#d2d95d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d95d;
$custom-light: #e2e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d95d",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 63.387,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85585,
    "c": 0.14697,
    "h": 112.1
  },
  "luminance": 0.64118
}

Semantic roles & 50–950 ramp

primary
#D2D95D
secondary
#433E9C
accent
#1CCA26
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D95D

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

Preview Lab → · Contrast checker → · Palette generator →

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