#C2A73A#C2A73A

#C2A73A is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.3% C 0.129 H 94.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#C2A73A
RGBrgb(194, 167, 58)
HSLhsl(48, 54%, 49%)
HSVhsv(48, 70%, 76%)
CMYKcmyk(0%, 13.9%, 70.1%, 23.9%)
CIE-LABlab(69.05, -2.07, 57.41)
CIE-LCHlch(69.05, 57.44, 92.06°)
OKLaboklab(73.26% -0.0111 0.1283)
OKLCHoklch(73.26% 0.129 94.9)
XYZxyz(36.8324, 39.4142, 9.6698)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A73A #3A55C2
analogous
#C2633A #C2A73A #99C23A
triadic
#C2A73A #3AC2A7 #A73AC2
tetradic
#C2A73A #3AC263 #3A55C2 #C23A99
square
#C2A73A #3AC263 #3A55C2 #C23A99
split-complementary
#C2A73A #3A99C2 #633AC2
monochromatic
#64561E #937E2C #C2A73A #D2BD67 #E0D197

Accessibility & contrast

On white

2.36
#C2A73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#C2A73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A73A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A73A#FFFFFF#000000##000000
##C2A73A1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42B
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#D19A91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a73a;
/* rgb */ color: rgb(194, 167, 58);
/* oklch */ color: oklch(73.3% 0.129 94.9);
Tailwind
colors: {
  custom: {
    50: '#d8c076',
    500: '#c2a73a',
    950: '#000000',
  },
}
SCSS
$custom: #c2a73a;
$custom-light: #d8c076;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a73a",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 48.088,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.73255,
    "c": 0.12873,
    "h": 94.9
  },
  "luminance": 0.39412
}

Semantic roles & 50–950 ramp

primary
#C2A73A
secondary
#8D99CB
accent
#68DD4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A73A

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

Preview Lab → · Contrast checker → · Palette generator →

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