#D2C844#D2C844

#D2C844 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.149 H 105.0°. Best body text is #000000 at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#D2C844
RGBrgb(210, 200, 68)
HSLhsl(56, 61%, 55%)
HSVhsv(56, 68%, 82%)
CMYKcmyk(0%, 4.8%, 67.6%, 17.6%)
CIE-LABlab(79.29, -11.78, 64.26)
CIE-LCHlch(79.29, 65.33, 100.39°)
OKLaboklab(81.74% -0.0385 0.1439)
OKLCHoklch(81.74% 0.149 105)
XYZxyz(48.2779, 55.4293, 13.6236)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C844 #444ED2
analogous
#D28144 #D2C844 #95D244
triadic
#D2C844 #44D2C8 #C844D2
tetradic
#D2C844 #44D281 #444ED2 #D24495
square
#D2C844 #44D281 #444ED2 #D24495
split-complementary
#D2C844 #4495D2 #8144D2
monochromatic
#7D771E #AFA52A #D2C844 #DED775 #EAE5A7

Accessibility & contrast

On white

1.74
#D2C844 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.09
#D2C844 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C844
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C844#FFFFFF#000000##000000
##D2C8441.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C131
Deuteranopia (green-blind)
#DDC74C
Tritanopia (blue-blind)
#E1BBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c844;
/* rgb */ color: rgb(210, 200, 68);
/* oklch */ color: oklch(81.7% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#e3d87f',
    500: '#d2c844',
    950: '#000000',
  },
}
SCSS
$custom: #d2c844;
$custom-light: #e3d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c844",
  "rgb": {
    "r": 210,
    "g": 200,
    "b": 68
  },
  "hsl": {
    "h": 55.775,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.8174,
    "c": 0.14897,
    "h": 105
  },
  "luminance": 0.55428
}

Semantic roles & 50–950 ramp

primary
#D2C844
secondary
#353B85
accent
#4FE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C844

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

Preview Lab → · Contrast checker → · Palette generator →

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