#D2D77A#D2D77A

#D2D77A is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.5% C 0.117 H 111.3°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#D2D77A
RGBrgb(210, 215, 122)
HSLhsl(63, 54%, 66%)
HSVhsv(63, 43%, 84%)
CMYKcmyk(2.3%, 0%, 43.3%, 15.7%)
CIE-LABlab(83.81, -15.12, 45.15)
CIE-LCHlch(83.81, 47.62, 108.51°)
OKLaboklab(85.52% -0.0424 0.1088)
OKLCHoklch(85.52% 0.117 111.3)
XYZxyz(54.3924, 63.7086, 27.8402)
Luminance0.6371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D77A #7F7AD7
analogous
#D7AD7A #D2D77A #A3D77A
triadic
#D2D77A #7AD2D7 #D77AD2
tetradic
#D2D77A #7AD7AD #7F7AD7 #D77AA3
square
#D2D77A #7AD7AD #7F7AD7 #D77AA3
split-complementary
#D2D77A #7AA3D7 #AD7AD7
monochromatic
#9FA532 #C2C94B #D2D77A #E2E5A9 #F2F3D8

Accessibility & contrast

On white

1.53
#D2D77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#D2D77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D77A
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D77A#FFFFFF#000000##000000
##D2D77A1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D072
Deuteranopia (green-blind)
#E4D27E
Tritanopia (blue-blind)
#DDCDC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d77a;
/* rgb */ color: rgb(210, 215, 122);
/* oklch */ color: oklch(85.5% 0.117 111.3);
Tailwind
colors: {
  custom: {
    50: '#e1e3a2',
    500: '#d2d77a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d77a;
$custom-light: #e1e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d77a",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 122
  },
  "hsl": {
    "h": 63.226,
    "s": 53.757,
    "l": 66.078
  },
  "oklch": {
    "l": 0.85518,
    "c": 0.11674,
    "h": 111.3
  },
  "luminance": 0.63708
}

Semantic roles & 50–950 ramp

primary
#D2D77A
secondary
#514CA9
accent
#24C12D
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D77A

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

Preview Lab → · Contrast checker → · Palette generator →

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