#C2A52C#C2A52C

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

Color values

HEX#C2A52C
RGBrgb(194, 165, 44)
HSLhsl(48, 63%, 47%)
HSVhsv(48, 77%, 76%)
CMYKcmyk(0%, 14.9%, 77.3%, 23.9%)
CIE-LABlab(68.43, -1.64, 62.08)
CIE-LCHlch(68.43, 62.11, 91.51°)
OKLaboklab(72.74% -0.0113 0.1355)
OKLCHoklch(72.74% 0.136 94.8)
XYZxyz(36.1599, 38.5635, 7.9213)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A52C #2C49C2
analogous
#C25A2C #C2A52C #94C22C
triadic
#C2A52C #2CC2A5 #A52CC2
tetradic
#C2A52C #2CC25A #2C49C2 #C22C94
square
#C2A52C #2CC25A #2C49C2 #C22C94
split-complementary
#C2A52C #2C94C2 #5A2CC2
monochromatic
#5E5015 #907B21 #C2A52C #D8BE53 #E3D185

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A52C#FFFFFF#000000##000000
##C2A52C1.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)
#B7A213
Deuteranopia (green-blind)
#BEAB34
Tritanopia (blue-blind)
#D2978E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c2a52c;
/* rgb */ color: rgb(194, 165, 44);
/* oklch */ color: oklch(72.7% 0.136 94.8);
Tailwind
colors: {
  custom: {
    50: '#d9bf6f',
    500: '#c2a52c',
    950: '#000000',
  },
}
SCSS
$custom: #c2a52c;
$custom-light: #d9bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a52c",
  "rgb": {
    "r": 194,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 48.4,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72739,
    "c": 0.13595,
    "h": 94.8
  },
  "luminance": 0.38561
}

Semantic roles & 50–950 ramp

primary
#C2A52C
secondary
#7D8DCD
accent
#62E642
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A52C

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

Preview Lab → · Contrast checker → · Palette generator →

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