#D2C73A#D2C73A

#D2C73A is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.154 H 104.8°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D2C73A
RGBrgb(210, 199, 58)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 72%, 82%)
CMYKcmyk(0%, 5.2%, 72.4%, 17.6%)
CIE-LABlab(78.96, -11.77, 67.63)
CIE-LCHlch(78.96, 68.65, 99.88°)
OKLaboklab(81.46% -0.0395 0.1493)
OKLCHoklch(81.46% 0.154 104.8)
XYZxyz(47.7675, 54.8558, 12.0743)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C73A #3A45D2
analogous
#D27B3A #D2C73A #91D23A
triadic
#D2C73A #3AD2C7 #C73AD2
tetradic
#D2C73A #3AD27B #3A45D2 #D23A91
square
#D2C73A #3AD27B #3A45D2 #D23A91
split-complementary
#D2C73A #3A91D2 #7B3AD2
monochromatic
#77701B #A89F26 #D2C73A #DDD56C #E9E39E

Accessibility & contrast

On white

1.75
#D2C73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D2C73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C73A
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C73A#FFFFFF#000000##000000
##D2C73A1.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C020
Deuteranopia (green-blind)
#DCC644
Tritanopia (blue-blind)
#E2B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c73a;
/* rgb */ color: rgb(210, 199, 58);
/* oklch */ color: oklch(81.5% 0.154 104.8);
Tailwind
colors: {
  custom: {
    50: '#e4d77a',
    500: '#d2c73a',
    950: '#000000',
  },
}
SCSS
$custom: #d2c73a;
$custom-light: #e4d77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c73a",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 58
  },
  "hsl": {
    "h": 55.658,
    "s": 62.81,
    "l": 52.549
  },
  "oklch": {
    "l": 0.81457,
    "c": 0.15444,
    "h": 104.8
  },
  "luminance": 0.54854
}

Semantic roles & 50–950 ramp

primary
#D2C73A
secondary
#31377F
accent
#4EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C73A

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

Preview Lab → · Contrast checker → · Palette generator →

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