#C2A52A#C2A52A

#C2A52A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.137 H 94.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#C2A52A
RGBrgb(194, 165, 42)
HSLhsl(49, 64%, 46%)
HSVhsv(49, 78%, 76%)
CMYKcmyk(0%, 14.9%, 78.4%, 23.9%)
CIE-LABlab(68.42, -1.72, 62.75)
CIE-LCHlch(68.42, 62.77, 91.57°)
OKLaboklab(72.73% -0.0117 0.1365)
OKLCHoklch(72.73% 0.137 94.9)
XYZxyz(36.1232, 38.5488, 7.7280)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A52A #2A47C2
analogous
#C2592A #C2A52A #93C22A
triadic
#C2A52A #2AC2A5 #A52AC2
tetradic
#C2A52A #2AC259 #2A47C2 #C22A93
square
#C2A52A #2AC259 #2A47C2 #C22A93
split-complementary
#C2A52A #2A93C2 #592AC2
monochromatic
#5D4F14 #907A1F #C2A52A #D9BF50 #E4D182

Accessibility & contrast

On white

2.41
#C2A52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#C2A52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A52A
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A52A#FFFFFF#000000##000000
##C2A52A1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20D
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#D2978E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c2a52a;
/* rgb */ color: rgb(194, 165, 42);
/* oklch */ color: oklch(72.7% 0.137 94.9);
Tailwind
colors: {
  custom: {
    50: '#d9bf6e',
    500: '#c2a52a',
    950: '#000000',
  },
}
SCSS
$custom: #c2a52a;
$custom-light: #d9bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a52a",
  "rgb": {
    "r": 194,
    "g": 165,
    "b": 42
  },
  "hsl": {
    "h": 48.553,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72727,
    "c": 0.137,
    "h": 94.9
  },
  "luminance": 0.38547
}

Semantic roles & 50–950 ramp

primary
#C2A52A
secondary
#7B8BCD
accent
#60E740
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A52A

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

Preview Lab → · Contrast checker → · Palette generator →

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