#C2A72C#C2A72C

#C2A72C is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.137 H 96.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#C2A72C
RGBrgb(194, 167, 44)
HSLhsl(49, 63%, 47%)
HSVhsv(49, 77%, 76%)
CMYKcmyk(0%, 13.9%, 77.3%, 23.9%)
CIE-LABlab(68.96, -2.70, 62.57)
CIE-LCHlch(68.96, 62.63, 92.47°)
OKLaboklab(73.16% -0.0144 0.1365)
OKLCHoklch(73.16% 0.137 96)
XYZxyz(36.5234, 39.2906, 8.0425)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A72C #2C47C2
analogous
#C25C2C #C2A72C #92C22C
triadic
#C2A72C #2CC2A7 #A72CC2
tetradic
#C2A72C #2CC25C #2C47C2 #C22C92
square
#C2A72C #2CC25C #2C47C2 #C22C92
split-complementary
#C2A72C #2C92C2 #5C2CC2
monochromatic
#5E5115 #907C21 #C2A72C #D8C053 #E3D285

Accessibility & contrast

On white

2.37
#C2A72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#C2A72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A72C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A72C#FFFFFF#000000##000000
##C2A72C1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A311
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#D29A90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a72c;
/* rgb */ color: rgb(194, 167, 44);
/* oklch */ color: oklch(73.2% 0.137 96.0);
Tailwind
colors: {
  custom: {
    50: '#d9c06f',
    500: '#c2a72c',
    950: '#000000',
  },
}
SCSS
$custom: #c2a72c;
$custom-light: #d9c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a72c",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 49.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73156,
    "c": 0.13727,
    "h": 96
  },
  "luminance": 0.39289
}

Semantic roles & 50–950 ramp

primary
#C2A72C
secondary
#7D8BCD
accent
#5FE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A72C

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

Preview Lab → · Contrast checker → · Palette generator →

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