#C2A72A#C2A72A

#C2A72A is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.1% C 0.138 H 96.1°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#C2A72A
RGBrgb(194, 167, 42)
HSLhsl(49, 64%, 46%)
HSVhsv(49, 78%, 76%)
CMYKcmyk(0%, 13.9%, 78.4%, 23.9%)
CIE-LABlab(68.95, -2.78, 63.23)
CIE-LCHlch(68.95, 63.29, 92.52°)
OKLaboklab(73.14% -0.0148 0.1375)
OKLCHoklch(73.14% 0.138 96.1)
XYZxyz(36.4867, 39.2760, 7.8492)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A72A #2A45C2
analogous
#C25B2A #C2A72A #91C22A
triadic
#C2A72A #2AC2A7 #A72AC2
tetradic
#C2A72A #2AC25B #2A45C2 #C22A91
square
#C2A72A #2AC25B #2A45C2 #C22A91
split-complementary
#C2A72A #2A91C2 #5B2AC2
monochromatic
#5D5014 #907C1F #C2A72A #D9C150 #E4D382

Accessibility & contrast

On white

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

On black

8.85
#C2A72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A72A
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A72A#FFFFFF#000000##000000
##C2A72A1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30C
Deuteranopia (green-blind)
#C0AC33
Tritanopia (blue-blind)
#D2998F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a72a;
/* rgb */ color: rgb(194, 167, 42);
/* oklch */ color: oklch(73.1% 0.138 96.1);
Tailwind
colors: {
  custom: {
    50: '#d9c06e',
    500: '#c2a72a',
    950: '#000000',
  },
}
SCSS
$custom: #c2a72a;
$custom-light: #d9c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a72a",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 49.342,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73144,
    "c": 0.13832,
    "h": 96.1
  },
  "luminance": 0.39274
}

Semantic roles & 50–950 ramp

primary
#C2A72A
secondary
#7B89CD
accent
#5EE740
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A72A

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

Preview Lab → · Contrast checker → · Palette generator →

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