#D2C241#D2C241

#D2C241 is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.5% C 0.146 H 102.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#D2C241
RGBrgb(210, 194, 65)
HSLhsl(53, 62%, 54%)
HSVhsv(53, 69%, 82%)
CMYKcmyk(0%, 7.6%, 69%, 17.6%)
CIE-LABlab(77.68, -8.89, 63.80)
CIE-LCHlch(77.68, 64.41, 97.93°)
OKLaboklab(80.45% -0.0306 0.1424)
OKLCHoklch(80.45% 0.146 102.1)
XYZxyz(46.8263, 52.6689, 12.6996)
Luminance0.5267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C241 #4151D2
analogous
#D27A41 #D2C241 #9AD241
triadic
#D2C241 #41D2C2 #C241D2
tetradic
#D2C241 #41D27A #4151D2 #D2419A
square
#D2C241 #41D27A #4151D2 #D2419A
split-complementary
#D2C241 #419AD2 #7A41D2
monochromatic
#7B711D #AD9E29 #D2C241 #DED272 #E9E2A4

Accessibility & contrast

On white

1.82
#D2C241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#D2C241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C241
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C241#FFFFFF#000000##000000
##D2C2411.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2E
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#E2B5A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c241;
/* rgb */ color: rgb(210, 194, 65);
/* oklch */ color: oklch(80.5% 0.146 102.1);
Tailwind
colors: {
  custom: {
    50: '#e3d47d',
    500: '#d2c241',
    950: '#000000',
  },
}
SCSS
$custom: #d2c241;
$custom-light: #e3d47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c241",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 65
  },
  "hsl": {
    "h": 53.379,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80454,
    "c": 0.14568,
    "h": 102.1
  },
  "luminance": 0.52667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C241

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

Preview Lab → · Contrast checker → · Palette generator →

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