#D2D95E#D2D95E

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

Color values

HEX#D2D95E
RGBrgb(210, 217, 94)
HSLhsl(63, 62%, 61%)
HSVhsv(63, 57%, 85%)
CMYKcmyk(3.2%, 0%, 56.7%, 14.9%)
CIE-LABlab(84.04, -18.58, 58.50)
CIE-LCHlch(84.04, 61.38, 107.62°)
OKLaboklab(85.6% -0.055 0.1354)
OKLCHoklch(85.6% 0.146 112.1)
XYZxyz(53.4129, 64.1366, 20.1534)
Luminance0.6413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D95E #655ED9
analogous
#D9A25E #D2D95E #94D95E
triadic
#D2D95E #5ED2D9 #D95ED2
tetradic
#D2D95E #5ED9A2 #655ED9 #D95E94
square
#D2D95E #5ED9A2 #655ED9 #D95E94
split-complementary
#D2D95E #5E94D9 #A25ED9
monochromatic
#929924 #C1CA30 #D2D95E #E0E590 #EEF0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D95E#FFFFFF#000000##000000
##D2D95E1.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)
#E8D051
Deuteranopia (green-blind)
#E8D365
Tritanopia (blue-blind)
#DFCDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d95e;
/* rgb */ color: rgb(210, 217, 94);
/* oklch */ color: oklch(85.6% 0.146 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e490',
    500: '#d2d95e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d95e;
$custom-light: #e2e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d95e",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 63.415,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85596,
    "c": 0.14611,
    "h": 112.1
  },
  "luminance": 0.64135
}

Semantic roles & 50–950 ramp

primary
#D2D95E
secondary
#443E9D
accent
#1CCA26
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D95E

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

Preview Lab → · Contrast checker → · Palette generator →

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