#D0C73B#D0C73B

#D0C73B is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.154 H 105.6°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#D0C73B
RGBrgb(208, 199, 59)
HSLhsl(56, 61%, 52%)
HSVhsv(56, 72%, 82%)
CMYKcmyk(0%, 4.3%, 71.6%, 18.4%)
CIE-LABlab(78.80, -12.58, 67.07)
CIE-LCHlch(78.80, 68.24, 100.62°)
OKLaboklab(81.29% -0.0415 0.1484)
OKLCHoklch(81.29% 0.154 105.6)
XYZxyz(47.2272, 54.5743, 12.1830)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C73B #3B44D0
analogous
#D07D3B #D0C73B #8ED03B
triadic
#D0C73B #3BD0C7 #C73BD0
tetradic
#D0C73B #3BD07D #3B44D0 #D03B8E
square
#D0C73B #3BD07D #3B44D0 #D03B8E
split-complementary
#D0C73B #3B8ED0 #7D3BD0
monochromatic
#756F1C #A69E28 #D0C73B #DCD56C #E8E39E

Accessibility & contrast

On white

1.76
#D0C73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#D0C73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C73B
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C73B#FFFFFF#000000##000000
##D0C73B1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C022
Deuteranopia (green-blind)
#DCC645
Tritanopia (blue-blind)
#DFBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c73b;
/* rgb */ color: rgb(208, 199, 59);
/* oklch */ color: oklch(81.3% 0.154 105.6);
Tailwind
colors: {
  custom: {
    50: '#e2d77a',
    500: '#d0c73b',
    950: '#000000',
  },
}
SCSS
$custom: #d0c73b;
$custom-light: #e2d77a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c73b",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 59
  },
  "hsl": {
    "h": 56.376,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81289,
    "c": 0.15406,
    "h": 105.6
  },
  "luminance": 0.54573
}

Semantic roles & 50–950 ramp

primary
#D0C73B
secondary
#32377D
accent
#4DE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D0C73B

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

Preview Lab → · Contrast checker → · Palette generator →

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