#D2D296#D2D296

#D2D296 is a very light, moderate yellow. Relative luminance 0.620; OKLCH L 84.9% C 0.078 H 108.0°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D2D296
RGBrgb(210, 210, 150)
HSLhsl(60, 40%, 71%)
HSVhsv(60, 29%, 82%)
CMYKcmyk(0%, 0%, 28.6%, 17.6%)
CIE-LABlab(82.91, -9.36, 29.84)
CIE-LCHlch(82.91, 31.27, 107.42°)
OKLaboklab(84.94% -0.0242 0.0746)
OKLCHoklch(84.94% 0.078 108)
XYZxyz(55.1301, 61.9977, 37.9108)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D296 #9696D2
analogous
#D2B496 #D2D296 #B4D296
triadic
#D2D296 #96D2D2 #D296D2
tetradic
#D2D296 #96D2B4 #9696D2 #D296B4
square
#D2D296 #96D2B4 #9696D2 #D296B4
split-complementary
#D2D296 #96B4D2 #B496D2
monochromatic
#A6A647 #C0C06B #D2D296 #E4E4C1 #F6F6EA

Accessibility & contrast

On white

1.57
#D2D296 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D2D296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D296
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D296#FFFFFF#000000##000000
##D2D2961.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCD92
Deuteranopia (green-blind)
#DDD098
Tritanopia (blue-blind)
#DBCBC2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d296;
/* rgb */ color: rgb(210, 210, 150);
/* oklch */ color: oklch(84.9% 0.078 108.0);
Tailwind
colors: {
  custom: {
    50: '#e0dfb5',
    500: '#d2d296',
    950: '#000000',
  },
}
SCSS
$custom: #d2d296;
$custom-light: #e0dfb5;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d296",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 150
  },
  "hsl": {
    "h": 60,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.84939,
    "c": 0.07847,
    "h": 108
  },
  "luminance": 0.61997
}

Semantic roles & 50–950 ramp

primary
#D2D296
secondary
#6464A8
accent
#32B332
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D296

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

Preview Lab → · Contrast checker → · Palette generator →

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