#D2C73B#D2C73B

#D2C73B 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#D2C73B
RGBrgb(210, 199, 59)
HSLhsl(56, 63%, 53%)
HSVhsv(56, 72%, 82%)
CMYKcmyk(0%, 5.2%, 71.9%, 17.6%)
CIE-LABlab(78.96, -11.73, 67.29)
CIE-LCHlch(78.96, 68.30, 99.89°)
OKLaboklab(81.46% -0.0392 0.1488)
OKLCHoklch(81.46% 0.154 104.8)
XYZxyz(47.7932, 54.8661, 12.2095)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C73B #3B46D2
analogous
#D27B3B #D2C73B #92D23B
triadic
#D2C73B #3BD2C7 #C73BD2
tetradic
#D2C73B #3BD27B #3B46D2 #D23B92
square
#D2C73B #3BD27B #3B46D2 #D23B92
split-complementary
#D2C73B #3B92D2 #7B3BD2
monochromatic
#77711B #A9A027 #D2C73B #DDD56D #E9E39F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C73B#FFFFFF#000000##000000
##D2C73B1.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)
#D9C022
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#E2B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c73b;
/* rgb */ color: rgb(210, 199, 59);
/* oklch */ color: oklch(81.5% 0.154 104.8);
Tailwind
colors: {
  custom: {
    50: '#e4d77a',
    500: '#d2c73b',
    950: '#000000',
  },
}
SCSS
$custom: #d2c73b;
$custom-light: #e4d77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c73b",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 55.629,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81464,
    "c": 0.15384,
    "h": 104.8
  },
  "luminance": 0.54864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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