#D2D191#D2D191

#D2D191 is a very light, moderate yellow. Relative luminance 0.613; OKLCH L 84.6% C 0.083 H 107.3°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#D2D191
RGBrgb(210, 209, 145)
HSLhsl(59, 42%, 70%)
HSVhsv(59, 31%, 82%)
CMYKcmyk(0%, 0.5%, 31%, 17.6%)
CIE-LABlab(82.57, -9.49, 31.96)
CIE-LCHlch(82.57, 33.34, 106.53°)
OKLaboklab(84.64% -0.0248 0.0795)
OKLCHoklch(84.64% 0.083 107.3)
XYZxyz(54.4900, 61.3478, 35.7534)
Luminance0.6135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D191 #9192D2
analogous
#D2B191 #D2D191 #B3D291
triadic
#D2D191 #91D2D1 #D191D2
tetradic
#D2D191 #91D2B1 #9192D2 #D291B3
square
#D2D191 #91D2B1 #9192D2 #D291B3
split-complementary
#D2D191 #91B3D2 #B191D2
monochromatic
#A5A444 #C0BF66 #D2D191 #E4E3BC #F6F5E8

Accessibility & contrast

On white

1.58
#D2D191 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.27
#D2D191 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D191
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D191#FFFFFF#000000##000000
##D2D1911.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCC8D
Deuteranopia (green-blind)
#DDCF94
Tritanopia (blue-blind)
#DBC9C0
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d191;
/* rgb */ color: rgb(210, 209, 145);
/* oklch */ color: oklch(84.6% 0.083 107.3);
Tailwind
colors: {
  custom: {
    50: '#e0dfb2',
    500: '#d2d191',
    950: '#000000',
  },
}
SCSS
$custom: #d2d191;
$custom-light: #e0dfb2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d191",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 145
  },
  "hsl": {
    "h": 59.077,
    "s": 41.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84636,
    "c": 0.08331,
    "h": 107.3
  },
  "luminance": 0.61347
}

Semantic roles & 50–950 ramp

primary
#D2D191
secondary
#5F60A8
accent
#33B530
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151511
muted
#848481

Preview Lab

Preview with #D2D191

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

Preview Lab → · Contrast checker → · Palette generator →

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