#D2C992#D2C992

#D2C992 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 83.0% C 0.073 H 99.9°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D2C992
RGBrgb(210, 201, 146)
HSLhsl(52, 42%, 70%)
HSVhsv(52, 30%, 82%)
CMYKcmyk(0%, 4.3%, 30.5%, 17.6%)
CIE-LABlab(80.49, -5.25, 28.68)
CIE-LCHlch(80.49, 29.15, 100.38°)
OKLaboklab(83% -0.0126 0.0718)
OKLCHoklch(83% 0.073 99.9)
XYZxyz(52.6537, 57.5514, 35.5234)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C992 #929BD2
analogous
#D2A992 #D2C992 #BBD292
triadic
#D2C992 #92D2C9 #C992D2
tetradic
#D2C992 #92D2A9 #929BD2 #D292BB
square
#D2C992 #92D2A9 #929BD2 #D292BB
split-complementary
#D2C992 #92BBD2 #A992D2
monochromatic
#A59844 #C0B467 #D2C992 #E4DEBD #F6F4E9

Accessibility & contrast

On white

1.68
#D2C992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#D2C992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C992
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C992#FFFFFF#000000##000000
##D2C9921.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C68E
Deuteranopia (green-blind)
#D6C994
Tritanopia (blue-blind)
#DCC1BB
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2c992;
/* rgb */ color: rgb(210, 201, 146);
/* oklch */ color: oklch(83.0% 0.073 99.9);
Tailwind
colors: {
  custom: {
    50: '#e0d9b2',
    500: '#d2c992',
    950: '#000000',
  },
}
SCSS
$custom: #d2c992;
$custom-light: #e0d9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c992",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 146
  },
  "hsl": {
    "h": 51.563,
    "s": 41.558,
    "l": 69.804
  },
  "oklch": {
    "l": 0.82997,
    "c": 0.07289,
    "h": 99.9
  },
  "luminance": 0.5755
}

Semantic roles & 50–950 ramp

primary
#D2C992
secondary
#606AA8
accent
#43B531
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D2C992

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

Preview Lab → · Contrast checker → · Palette generator →

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