#D2C041#D2C041

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

Color values

HEX#D2C041
RGBrgb(210, 192, 65)
HSLhsl(53, 62%, 54%)
HSVhsv(53, 69%, 82%)
CMYKcmyk(0%, 8.6%, 69%, 17.6%)
CIE-LABlab(77.15, -7.86, 63.27)
CIE-LCHlch(77.15, 63.76, 97.08°)
OKLaboklab(80.04% -0.0277 0.1413)
OKLCHoklch(80.04% 0.144 101.1)
XYZxyz(46.3842, 51.7846, 12.5522)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C041 #4153D2
analogous
#D27841 #D2C041 #9CD241
triadic
#D2C041 #41D2C0 #C041D2
tetradic
#D2C041 #41D278 #4153D2 #D2419C
square
#D2C041 #41D278 #4153D2 #D2419C
split-complementary
#D2C041 #419CD2 #7841D2
monochromatic
#7B701D #AD9C29 #D2C041 #DED072 #E9E1A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C041#FFFFFF#000000##000000
##D2C0411.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)
#D2BA2E
Deuteranopia (green-blind)
#D7C249
Tritanopia (blue-blind)
#E2B2A6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d2c041;
/* rgb */ color: rgb(210, 192, 65);
/* oklch */ color: oklch(80.0% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#e3d27d',
    500: '#d2c041',
    950: '#000000',
  },
}
SCSS
$custom: #d2c041;
$custom-light: #e3d27d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c041",
  "rgb": {
    "r": 210,
    "g": 192,
    "b": 65
  },
  "hsl": {
    "h": 52.552,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80035,
    "c": 0.144,
    "h": 101.1
  },
  "luminance": 0.51783
}

Semantic roles & 50–950 ramp

primary
#D2C041
secondary
#343E83
accent
#57E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C041

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

Preview Lab → · Contrast checker → · Palette generator →

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