#D2DA7B#D2DA7B

#D2DA7B is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.2% C 0.119 H 112.8°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#D2DA7B
RGBrgb(210, 218, 123)
HSLhsl(65, 56%, 67%)
HSVhsv(65, 44%, 85%)
CMYKcmyk(3.7%, 0%, 43.6%, 14.5%)
CIE-LABlab(84.63, -16.50, 45.67)
CIE-LCHlch(84.63, 48.56, 109.87°)
OKLaboklab(86.17% -0.0463 0.11)
OKLCHoklch(86.17% 0.119 112.8)
XYZxyz(55.2256, 65.2754, 28.4252)
Luminance0.6528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DA7B #837BDA
analogous
#DAB37B #D2DA7B #A3DA7B
triadic
#D2DA7B #7BD2DA #DA7BD2
tetradic
#D2DA7B #7BDAB3 #837BDA #DA7BA3
square
#D2DA7B #7BDAB3 #837BDA #DA7BA3
split-complementary
#D2DA7B #7BA3DA #B37BDA
monochromatic
#A0AB30 #C2CD4B #D2DA7B #E2E7AB #F3F5DB

Accessibility & contrast

On white

1.49
#D2DA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#D2DA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DA7B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DA7B#FFFFFF#000000##000000
##D2DA7B1.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D273
Deuteranopia (green-blind)
#E6D480
Tritanopia (blue-blind)
#DDD0C3
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2da7b;
/* rgb */ color: rgb(210, 218, 123);
/* oklch */ color: oklch(86.2% 0.119 112.8);
Tailwind
colors: {
  custom: {
    50: '#e1e5a3',
    500: '#d2da7b',
    950: '#000000',
  },
}
SCSS
$custom: #d2da7b;
$custom-light: #e1e5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2da7b",
  "rgb": {
    "r": 210,
    "g": 218,
    "b": 123
  },
  "hsl": {
    "h": 65.053,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86169,
    "c": 0.11932,
    "h": 112.8
  },
  "luminance": 0.65275
}

Semantic roles & 50–950 ramp

primary
#D2DA7B
secondary
#544CAE
accent
#22C42F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2DA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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