#D2C13A#D2C13A

#D2C13A is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.149 H 101.9°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#D2C13A
RGBrgb(210, 193, 58)
HSLhsl(53, 63%, 53%)
HSVhsv(53, 72%, 82%)
CMYKcmyk(0%, 8.1%, 72.4%, 17.6%)
CIE-LABlab(77.37, -8.72, 66.11)
CIE-LCHlch(77.37, 66.68, 97.51°)
OKLaboklab(80.19% -0.0309 0.1461)
OKLCHoklch(80.19% 0.149 101.9)
XYZxyz(46.4141, 52.1491, 11.6231)
Luminance0.5215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C13A #3A4BD2
analogous
#D2753A #D2C13A #97D23A
triadic
#D2C13A #3AD2C1 #C13AD2
tetradic
#D2C13A #3AD275 #3A4BD2 #D23A97
square
#D2C13A #3AD275 #3A4BD2 #D23A97
split-complementary
#D2C13A #3A97D2 #753AD2
monochromatic
#776C1B #A89A26 #D2C13A #DDD16C #E9E09E

Accessibility & contrast

On white

1.84
#D2C13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#D2C13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C13A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C13A#FFFFFF#000000##000000
##D2C13A1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB22
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#E2B3A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d2c13a;
/* rgb */ color: rgb(210, 193, 58);
/* oklch */ color: oklch(80.2% 0.149 101.9);
Tailwind
colors: {
  custom: {
    50: '#e4d379',
    500: '#d2c13a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c13a;
$custom-light: #e4d379;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c13a",
  "rgb": {
    "r": 210,
    "g": 193,
    "b": 58
  },
  "hsl": {
    "h": 53.289,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80194,
    "c": 0.1493,
    "h": 101.9
  },
  "luminance": 0.52147
}

Semantic roles & 50–950 ramp

primary
#D2C13A
secondary
#313A7F
accent
#54E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C13A

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

Preview Lab → · Contrast checker → · Palette generator →

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