#D2C481#D2C481

#D2C481 is a light, moderate yellow. Relative luminance 0.548; OKLCH L 81.7% C 0.088 H 97.8°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#D2C481
RGBrgb(210, 196, 129)
HSLhsl(50, 47%, 66%)
HSVhsv(50, 39%, 82%)
CMYKcmyk(0%, 6.7%, 38.6%, 17.6%)
CIE-LABlab(78.91, -4.70, 35.42)
CIE-LCHlch(78.91, 35.73, 97.56°)
OKLaboklab(81.66% -0.012 0.087)
OKLCHoklch(81.66% 0.088 97.8)
XYZxyz(50.2817, 54.7680, 28.6872)
Luminance0.5477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C481 #818FD2
analogous
#D29C81 #D2C481 #B8D281
triadic
#D2C481 #81D2C4 #C481D2
tetradic
#D2C481 #81D29C #818FD2 #D281B8
square
#D2C481 #81D29C #818FD2 #D281B8
split-complementary
#D2C481 #81B8D2 #9C81D2
monochromatic
#A08E39 #C2AF54 #D2C481 #E2D9AE #F2EEDB

Accessibility & contrast

On white

1.76
#D2C481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#D2C481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C481
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C481#FFFFFF#000000##000000
##D2C4811.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C07C
Deuteranopia (green-blind)
#D4C683
Tritanopia (blue-blind)
#DEBBB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c481;
/* rgb */ color: rgb(210, 196, 129);
/* oklch */ color: oklch(81.7% 0.088 97.8);
Tailwind
colors: {
  custom: {
    50: '#e1d5a6',
    500: '#d2c481',
    950: '#000000',
  },
}
SCSS
$custom: #d2c481;
$custom-light: #e1d5a6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c481",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 129
  },
  "hsl": {
    "h": 49.63,
    "s": 47.368,
    "l": 66.471
  },
  "oklch": {
    "l": 0.81655,
    "c": 0.08786,
    "h": 97.8
  },
  "luminance": 0.54766
}

Semantic roles & 50–950 ramp

primary
#D2C481
secondary
#5361A5
accent
#44BB2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2C481

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

Preview Lab → · Contrast checker → · Palette generator →

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