#D2C141#D2C141

#D2C141 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.145 H 101.6°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#D2C141
RGBrgb(210, 193, 65)
HSLhsl(53, 62%, 54%)
HSVhsv(53, 69%, 82%)
CMYKcmyk(0%, 8.1%, 69%, 17.6%)
CIE-LABlab(77.42, -8.38, 63.53)
CIE-LCHlch(77.42, 64.08, 97.51°)
OKLaboklab(80.25% -0.0292 0.1419)
OKLCHoklch(80.25% 0.145 101.6)
XYZxyz(46.6045, 52.2252, 12.6256)
Luminance0.5222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C141 #4152D2
analogous
#D27941 #D2C141 #9AD241
triadic
#D2C141 #41D2C1 #C141D2
tetradic
#D2C141 #41D279 #4152D2 #D2419A
square
#D2C141 #41D279 #4152D2 #D2419A
split-complementary
#D2C141 #419AD2 #7941D2
monochromatic
#7B701D #AD9D29 #D2C141 #DED172 #E9E1A4

Accessibility & contrast

On white

1.83
#D2C141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#D2C141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C141
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C141#FFFFFF#000000##000000
##D2C1411.001.8311.4411.44
#FFFFFF1.831.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2E
Deuteranopia (green-blind)
#D8C249
Tritanopia (blue-blind)
#E2B4A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c141;
/* rgb */ color: rgb(210, 193, 65);
/* oklch */ color: oklch(80.2% 0.145 101.6);
Tailwind
colors: {
  custom: {
    50: '#e3d37d',
    500: '#d2c141',
    950: '#000000',
  },
}
SCSS
$custom: #d2c141;
$custom-light: #e3d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c141",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 52.966,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80245,
    "c": 0.14484,
    "h": 101.6
  },
  "luminance": 0.52223
}

Semantic roles & 50–950 ramp

primary
#D2C141
secondary
#343D83
accent
#56E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C141

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

Preview Lab → · Contrast checker → · Palette generator →

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