#D2C641#D2C641

#D2C641 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.149 H 104.1°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#D2C641
RGBrgb(210, 198, 65)
HSLhsl(55, 62%, 54%)
HSVhsv(55, 69%, 82%)
CMYKcmyk(0%, 5.7%, 69%, 17.6%)
CIE-LABlab(78.74, -10.93, 64.86)
CIE-LCHlch(78.74, 65.77, 99.56°)
OKLaboklab(81.3% -0.0364 0.1447)
OKLCHoklch(81.3% 0.149 104.1)
XYZxyz(47.7285, 54.4733, 13.0003)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C641 #414DD2
analogous
#D27E41 #D2C641 #96D241
triadic
#D2C641 #41D2C6 #C641D2
tetradic
#D2C641 #41D27E #414DD2 #D24196
square
#D2C641 #41D27E #414DD2 #D24196
split-complementary
#D2C641 #4196D2 #7E41D2
monochromatic
#7B741D #ADA229 #D2C641 #DED572 #E9E4A4

Accessibility & contrast

On white

1.77
#D2C641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#D2C641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C641
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C641#FFFFFF#000000##000000
##D2C6411.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#DBC64A
Tritanopia (blue-blind)
#E1B9AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c641;
/* rgb */ color: rgb(210, 198, 65);
/* oklch */ color: oklch(81.3% 0.149 104.1);
Tailwind
colors: {
  custom: {
    50: '#e3d77d',
    500: '#d2c641',
    950: '#000000',
  },
}
SCSS
$custom: #d2c641;
$custom-light: #e3d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c641",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 55.034,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81295,
    "c": 0.14918,
    "h": 104.1
  },
  "luminance": 0.54471
}

Semantic roles & 50–950 ramp

primary
#D2C641
secondary
#343B83
accent
#50E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C641

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

Preview Lab → · Contrast checker → · Palette generator →

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