#C2A73C#C2A73C

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

Color values

HEX#C2A73C
RGBrgb(194, 167, 60)
HSLhsl(48, 53%, 50%)
HSVhsv(48, 69%, 76%)
CMYKcmyk(0%, 13.9%, 69.1%, 23.9%)
CIE-LABlab(69.07, -1.96, 56.60)
CIE-LCHlch(69.07, 56.63, 91.98°)
OKLaboklab(73.27% -0.0105 0.1269)
OKLCHoklch(73.27% 0.127 94.7)
XYZxyz(36.8843, 39.4350, 9.9430)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A73C #3C57C2
analogous
#C2643C #C2A73C #9AC23C
triadic
#C2A73C #3CC2A7 #A73CC2
tetradic
#C2A73C #3CC264 #3C57C2 #C23C9A
square
#C2A73C #3CC264 #3C57C2 #C23C9A
split-complementary
#C2A73C #3C9AC2 #643CC2
monochromatic
#65571F #937F2E #C2A73C #D1BC6A #DFD199

Accessibility & contrast

On white

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

On black

8.89
#C2A73C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A73C
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A73C#FFFFFF#000000##000000
##C2A73C1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42E
Deuteranopia (green-blind)
#BFAC42
Tritanopia (blue-blind)
#D19A91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c2a73c;
/* rgb */ color: rgb(194, 167, 60);
/* oklch */ color: oklch(73.3% 0.127 94.7);
Tailwind
colors: {
  custom: {
    50: '#d8c078',
    500: '#c2a73c',
    950: '#000000',
  },
}
SCSS
$custom: #c2a73c;
$custom-light: #d8c078;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a73c",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 60
  },
  "hsl": {
    "h": 47.91,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73271,
    "c": 0.12733,
    "h": 94.7
  },
  "luminance": 0.39433
}

Semantic roles & 50–950 ramp

primary
#C2A73C
secondary
#8F9BCB
accent
#69DC4C
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2A73C

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

Preview Lab → · Contrast checker → · Palette generator →

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