#D2D293#D2D293

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

Color values

HEX#D2D293
RGBrgb(210, 210, 147)
HSLhsl(60, 41%, 70%)
HSVhsv(60, 30%, 82%)
CMYKcmyk(0%, 0%, 30%, 17.6%)
CIE-LABlab(82.86, -9.74, 31.32)
CIE-LCHlch(82.86, 32.80, 107.28°)
OKLaboklab(84.88% -0.0254 0.0781)
OKLCHoklch(84.88% 0.082 108)
XYZxyz(54.8917, 61.9023, 36.6548)
Luminance0.6190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D293 #9393D2
analogous
#D2B393 #D2D293 #B3D293
triadic
#D2D293 #93D2D2 #D293D2
tetradic
#D2D293 #93D2B3 #9393D2 #D293B3
square
#D2D293 #93D2B3 #9393D2 #D293B3
split-complementary
#D2D293 #93B2D2 #B293D2
monochromatic
#A6A645 #C0C068 #D2D293 #E4E4BE #F6F6E9

Accessibility & contrast

On white

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

On black

13.38
#D2D293 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D293
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D293#FFFFFF#000000##000000
##D2D2931.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCD8F
Deuteranopia (green-blind)
#DDD095
Tritanopia (blue-blind)
#DBCAC2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d293;
/* rgb */ color: rgb(210, 210, 147);
/* oklch */ color: oklch(84.9% 0.082 108.0);
Tailwind
colors: {
  custom: {
    50: '#e0dfb3',
    500: '#d2d293',
    950: '#000000',
  },
}
SCSS
$custom: #d2d293;
$custom-light: #e0dfb3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d293",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 147
  },
  "hsl": {
    "h": 60,
    "s": 41.176,
    "l": 70
  },
  "oklch": {
    "l": 0.84882,
    "c": 0.08212,
    "h": 108
  },
  "luminance": 0.61901
}

Semantic roles & 50–950 ramp

primary
#D2D293
secondary
#6161A8
accent
#31B431
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D293

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

Preview Lab → · Contrast checker → · Palette generator →

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