#D2C044#D2C044

#D2C044 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.142 H 100.9°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#D2C044
RGBrgb(210, 192, 68)
HSLhsl(52, 61%, 55%)
HSVhsv(52, 68%, 82%)
CMYKcmyk(0%, 8.6%, 67.6%, 17.6%)
CIE-LABlab(77.17, -7.70, 62.11)
CIE-LCHlch(77.17, 62.58, 97.07°)
OKLaboklab(80.06% -0.0269 0.1394)
OKLCHoklch(80.06% 0.142 100.9)
XYZxyz(46.4734, 51.8203, 13.0221)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C044 #4456D2
analogous
#D27944 #D2C044 #9DD244
triadic
#D2C044 #44D2C0 #C044D2
tetradic
#D2C044 #44D279 #4456D2 #D2449D
square
#D2C044 #44D279 #4456D2 #D2449D
split-complementary
#D2C044 #449DD2 #7944D2
monochromatic
#7D711E #AF9E2A #D2C044 #DED175 #EAE1A7

Accessibility & contrast

On white

1.85
#D2C044 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#D2C044 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C044
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C044#FFFFFF#000000##000000
##D2C0441.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB33
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#E2B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c044;
/* rgb */ color: rgb(210, 192, 68);
/* oklch */ color: oklch(80.1% 0.142 100.9);
Tailwind
colors: {
  custom: {
    50: '#e3d27f',
    500: '#d2c044',
    950: '#000000',
  },
}
SCSS
$custom: #d2c044;
$custom-light: #e3d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c044",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 68
  },
  "hsl": {
    "h": 52.394,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80059,
    "c": 0.14194,
    "h": 100.9
  },
  "luminance": 0.51818
}

Semantic roles & 50–950 ramp

primary
#D2C044
secondary
#353F85
accent
#58E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C044

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

Preview Lab → · Contrast checker → · Palette generator →

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