#D2C44E#D2C44E

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

Color values

HEX#D2C44E
RGBrgb(210, 196, 78)
HSLhsl(54, 59%, 56%)
HSVhsv(54, 63%, 82%)
CMYKcmyk(0%, 6.7%, 62.9%, 17.6%)
CIE-LABlab(78.31, -9.16, 59.15)
CIE-LCHlch(78.31, 59.86, 98.81°)
OKLaboklab(80.98% -0.03 0.1347)
OKLCHoklch(80.98% 0.138 102.5)
XYZxyz(47.6953, 53.7334, 15.0655)
Luminance0.5373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C44E #4E5CD2
analogous
#D2824E #D2C44E #9ED24E
triadic
#D2C44E #4ED2C4 #C44ED2
tetradic
#D2C44E #4ED282 #4E5CD2 #D24E9E
square
#D2C44E #4ED282 #4E5CD2 #D24E9E
split-complementary
#D2C44E #4E9ED2 #824ED2
monochromatic
#847A22 #B5A72E #D2C44E #DED47F #EBE5B0

Accessibility & contrast

On white

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

On black

11.75
#D2C44E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C44E
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C44E#FFFFFF#000000##000000
##D2C44E1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c44e;
/* rgb */ color: rgb(210, 196, 78);
/* oklch */ color: oklch(81.0% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#e3d585',
    500: '#d2c44e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c44e;
$custom-light: #e3d585;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c44e",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 78
  },
  "hsl": {
    "h": 53.636,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80984,
    "c": 0.13798,
    "h": 102.5
  },
  "luminance": 0.53732
}

Semantic roles & 50–950 ramp

primary
#D2C44E
secondary
#39428B
accent
#56E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C44E

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

Preview Lab → · Contrast checker → · Palette generator →

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