#D2C43C#D2C43C

#D2C43C is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.151 H 103.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D2C43C
RGBrgb(210, 196, 60)
HSLhsl(54, 63%, 53%)
HSVhsv(54, 71%, 82%)
CMYKcmyk(0%, 6.7%, 71.4%, 17.6%)
CIE-LABlab(78.17, -10.16, 66.16)
CIE-LCHlch(78.17, 66.94, 98.73°)
OKLaboklab(80.84% -0.0347 0.1466)
OKLCHoklch(80.84% 0.151 103.3)
XYZxyz(47.1359, 53.5097, 12.1196)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C43C #3C4AD2
analogous
#D2793C #D2C43C #95D23C
triadic
#D2C43C #3CD2C4 #C43CD2
tetradic
#D2C43C #3CD279 #3C4AD2 #D23C95
square
#D2C43C #3CD279 #3C4AD2 #D23C95
split-complementary
#D2C43C #3C95D2 #793CD2
monochromatic
#786F1C #AA9D27 #D2C43C #DDD36E #E9E29F

Accessibility & contrast

On white

1.79
#D2C43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#D2C43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C43C
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C43C#FFFFFF#000000##000000
##D2C43C1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE25
Deuteranopia (green-blind)
#DAC445
Tritanopia (blue-blind)
#E2B6A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c43c;
/* rgb */ color: rgb(210, 196, 60);
/* oklch */ color: oklch(80.8% 0.151 103.3);
Tailwind
colors: {
  custom: {
    50: '#e4d57b',
    500: '#d2c43c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c43c;
$custom-light: #e4d57b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c43c",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 60
  },
  "hsl": {
    "h": 54.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80838,
    "c": 0.15062,
    "h": 103.3
  },
  "luminance": 0.53508
}

Semantic roles & 50–950 ramp

primary
#D2C43C
secondary
#323980
accent
#51E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C43C

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

Preview Lab → · Contrast checker → · Palette generator →

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