#D2C44D#D2C44D

#D2C44D is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.139 H 102.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#D2C44D
RGBrgb(210, 196, 77)
HSLhsl(54, 60%, 56%)
HSVhsv(54, 63%, 82%)
CMYKcmyk(0%, 6.7%, 63.3%, 17.6%)
CIE-LABlab(78.30, -9.23, 59.57)
CIE-LCHlch(78.30, 60.28, 98.80°)
OKLaboklab(80.97% -0.0303 0.1354)
OKLCHoklch(80.97% 0.139 102.6)
XYZxyz(47.6597, 53.7192, 14.8781)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C44D #4D5BD2
analogous
#D2824D #D2C44D #9ED24D
triadic
#D2C44D #4DD2C4 #C44DD2
tetradic
#D2C44D #4DD282 #4D5BD2 #D24D9E
square
#D2C44D #4DD282 #4D5BD2 #D24D9E
split-complementary
#D2C44D #4D9ED2 #824DD2
monochromatic
#837921 #B4A62E #D2C44D #DED47E #EBE4AF

Accessibility & contrast

On white

1.79
#D2C44D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#D2C44D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C44D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C44D#FFFFFF#000000##000000
##D2C44D1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE3F
Deuteranopia (green-blind)
#D9C554
Tritanopia (blue-blind)
#E1B7AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c44d;
/* rgb */ color: rgb(210, 196, 77);
/* oklch */ color: oklch(81.0% 0.139 102.6);
Tailwind
colors: {
  custom: {
    50: '#e3d584',
    500: '#d2c44d',
    950: '#000000',
  },
}
SCSS
$custom: #d2c44d;
$custom-light: #e3d584;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c44d",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 77
  },
  "hsl": {
    "h": 53.684,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80975,
    "c": 0.13875,
    "h": 102.6
  },
  "luminance": 0.53717
}

Semantic roles & 50–950 ramp

primary
#D2C44D
secondary
#39418A
accent
#56E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C44D

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

Preview Lab → · Contrast checker → · Palette generator →

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