#D2C73C#D2C73C

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

Color values

HEX#D2C73C
RGBrgb(210, 199, 60)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 71%, 82%)
CMYKcmyk(0%, 5.2%, 71.4%, 17.6%)
CIE-LABlab(78.97, -11.68, 66.94)
CIE-LCHlch(78.97, 67.95, 99.90°)
OKLaboklab(81.47% -0.039 0.1482)
OKLCHoklch(81.47% 0.153 104.8)
XYZxyz(47.8194, 54.8766, 12.3474)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C73C #3C47D2
analogous
#D27C3C #D2C73C #92D23C
triadic
#D2C73C #3CD2C7 #C73CD2
tetradic
#D2C73C #3CD27C #3C47D2 #D23C92
square
#D2C73C #3CD27C #3C47D2 #D23C92
split-complementary
#D2C73C #3C92D2 #7C3CD2
monochromatic
#78711C #AAA027 #D2C73C #DDD56E #E9E49F

Accessibility & contrast

On white

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

On black

11.98
#D2C73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C73C
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C73C#FFFFFF#000000##000000
##D2C73C1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c73c;
/* rgb */ color: rgb(210, 199, 60);
/* oklch */ color: oklch(81.5% 0.153 104.8);
Tailwind
colors: {
  custom: {
    50: '#e4d77b',
    500: '#d2c73c',
    950: '#000000',
  },
}
SCSS
$custom: #d2c73c;
$custom-light: #e4d77b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c73c",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 60
  },
  "hsl": {
    "h": 55.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8147,
    "c": 0.15324,
    "h": 104.8
  },
  "luminance": 0.54875
}

Semantic roles & 50–950 ramp

primary
#D2C73C
secondary
#323880
accent
#4EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2C73C

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

Preview Lab → · Contrast checker → · Palette generator →

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