#D2D95F#D2D95F

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

Color values

HEX#D2D95F
RGBrgb(210, 217, 95)
HSLhsl(63, 62%, 61%)
HSVhsv(63, 56%, 85%)
CMYKcmyk(3.2%, 0%, 56.2%, 14.9%)
CIE-LABlab(84.05, -18.51, 58.07)
CIE-LCHlch(84.05, 60.95, 107.68°)
OKLaboklab(85.61% -0.0547 0.1346)
OKLCHoklch(85.61% 0.145 112.1)
XYZxyz(53.4580, 64.1547, 20.3913)
Luminance0.6415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D95F #665FD9
analogous
#D9A35F #D2D95F #95D95F
triadic
#D2D95F #5FD2D9 #D95FD2
tetradic
#D2D95F #5FD9A3 #665FD9 #D95F95
square
#D2D95F #5FD9A3 #665FD9 #D95F95
split-complementary
#D2D95F #5F95D9 #A35FD9
monochromatic
#939924 #C2CB30 #D2D95F #E0E590 #EEF0C2

Accessibility & contrast

On white

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

On black

13.83
#D2D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D95F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D95F#FFFFFF#000000##000000
##D2D95F1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d95f;
/* rgb */ color: rgb(210, 217, 95);
/* oklch */ color: oklch(85.6% 0.145 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e490',
    500: '#d2d95f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d95f;
$custom-light: #e2e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d95f",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 63.443,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85606,
    "c": 0.14524,
    "h": 112.1
  },
  "luminance": 0.64154
}

Semantic roles & 50–950 ramp

primary
#D2D95F
secondary
#443F9E
accent
#1CC926
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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