#D2C73F#D2C73F

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

Color values

HEX#D2C73F
RGBrgb(210, 199, 63)
HSLhsl(56, 62%, 54%)
HSVhsv(56, 70%, 82%)
CMYKcmyk(0%, 5.2%, 70%, 17.6%)
CIE-LABlab(78.99, -11.54, 65.86)
CIE-LCHlch(78.99, 66.86, 99.94°)
OKLaboklab(81.49% -0.0383 0.1464)
OKLCHoklch(81.49% 0.151 104.7)
XYZxyz(47.9009, 54.9092, 12.7770)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C73F #3F4AD2
analogous
#D27D3F #D2C73F #93D23F
triadic
#D2C73F #3FD2C7 #C73FD2
tetradic
#D2C73F #3FD27D #3F4AD2 #D23F93
square
#D2C73F #3FD27D #3F4AD2 #D23F93
split-complementary
#D2C73F #3F93D2 #7D3FD2
monochromatic
#7A731D #ACA228 #D2C73F #DED571 #E9E4A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C73F#FFFFFF#000000##000000
##D2C73F1.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)
#D8C029
Deuteranopia (green-blind)
#DCC648
Tritanopia (blue-blind)
#E1BAAC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d2c73f;
/* rgb */ color: rgb(210, 199, 63);
/* oklch */ color: oklch(81.5% 0.151 104.7);
Tailwind
colors: {
  custom: {
    50: '#e3d77c',
    500: '#d2c73f',
    950: '#000000',
  },
}
SCSS
$custom: #d2c73f;
$custom-light: #e3d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c73f",
  "rgb": {
    "r": 210,
    "g": 199,
    "b": 63
  },
  "hsl": {
    "h": 55.51,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81491,
    "c": 0.15137,
    "h": 104.7
  },
  "luminance": 0.54907
}

Semantic roles & 50–950 ramp

primary
#D2C73F
secondary
#333982
accent
#4FE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C73F

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

Preview Lab → · Contrast checker → · Palette generator →

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