#D2D592#D2D592

#D2D592 is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.5% C 0.087 H 110.3°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#D2D592
RGBrgb(210, 213, 146)
HSLhsl(63, 44%, 70%)
HSVhsv(63, 31%, 84%)
CMYKcmyk(1.4%, 0%, 31.5%, 16.5%)
CIE-LABlab(83.63, -11.39, 32.86)
CIE-LCHlch(83.63, 34.78, 109.12°)
OKLaboklab(85.49% -0.0302 0.0817)
OKLCHoklch(85.49% 0.087 110.3)
XYZxyz(55.5611, 63.3663, 36.4925)
Luminance0.6337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D592 #9592D5
analogous
#D5B792 #D2D592 #B0D592
triadic
#D2D592 #92D2D5 #D592D2
tetradic
#D2D592 #92D5B7 #9592D5 #D592B0
square
#D2D592 #92D5B7 #9592D5 #D592B0
split-complementary
#D2D592 #92B0D5 #B792D5
monochromatic
#A6AB42 #C0C466 #D2D592 #E4E6BE #F6F6E9

Accessibility & contrast

On white

1.54
#D2D592 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#D2D592 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D592
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D592#FFFFFF#000000##000000
##D2D5921.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF8D
Deuteranopia (green-blind)
#E0D295
Tritanopia (blue-blind)
#DBCDC4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d592;
/* rgb */ color: rgb(210, 213, 146);
/* oklch */ color: oklch(85.5% 0.087 110.3);
Tailwind
colors: {
  custom: {
    50: '#e0e1b2',
    500: '#d2d592',
    950: '#000000',
  },
}
SCSS
$custom: #d2d592;
$custom-light: #e0e1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d592",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 146
  },
  "hsl": {
    "h": 62.687,
    "s": 44.371,
    "l": 70.392
  },
  "oklch": {
    "l": 0.8549,
    "c": 0.08707,
    "h": 110.3
  },
  "luminance": 0.63365
}

Semantic roles & 50–950 ramp

primary
#D2D592
secondary
#6360AB
accent
#2EB834
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #D2D592

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

Preview Lab → · Contrast checker → · Palette generator →

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