#D2C43A#D2C43A

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

Color values

HEX#D2C43A
RGBrgb(210, 196, 58)
HSLhsl(54, 63%, 53%)
HSVhsv(54, 72%, 82%)
CMYKcmyk(0%, 6.7%, 72.4%, 17.6%)
CIE-LABlab(78.16, -10.25, 66.87)
CIE-LCHlch(78.16, 67.65, 98.72°)
OKLaboklab(80.82% -0.0352 0.1477)
OKLCHoklch(80.82% 0.152 103.4)
XYZxyz(47.0840, 53.4889, 11.8464)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C43A #3A48D2
analogous
#D2783A #D2C43A #94D23A
triadic
#D2C43A #3AD2C4 #C43AD2
tetradic
#D2C43A #3AD278 #3A48D2 #D23A94
square
#D2C43A #3AD278 #3A48D2 #D23A94
split-complementary
#D2C43A #3A94D2 #783AD2
monochromatic
#776E1B #A89C26 #D2C43A #DDD36C #E9E29E

Accessibility & contrast

On white

1.80
#D2C43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C43A#FFFFFF#000000##000000
##D2C43A1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c43a;
/* rgb */ color: rgb(210, 196, 58);
/* oklch */ color: oklch(80.8% 0.152 103.4);
Tailwind
colors: {
  custom: {
    50: '#e4d57a',
    500: '#d2c43a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c43a;
$custom-light: #e4d57a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c43a",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 58
  },
  "hsl": {
    "h": 54.474,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80824,
    "c": 0.15182,
    "h": 103.4
  },
  "luminance": 0.53487
}

Semantic roles & 50–950 ramp

primary
#D2C43A
secondary
#31397F
accent
#51E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C43A

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

Preview Lab → · Contrast checker → · Palette generator →

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