#C2A532#C2A532

#C2A532 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.8% C 0.133 H 94.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#C2A532
RGBrgb(194, 165, 50)
HSLhsl(48, 59%, 48%)
HSVhsv(48, 74%, 76%)
CMYKcmyk(0%, 14.9%, 74.2%, 23.9%)
CIE-LABlab(68.47, -1.39, 59.96)
CIE-LCHlch(68.47, 59.98, 91.33°)
OKLaboklab(72.78% -0.01 0.1322)
OKLCHoklch(72.78% 0.133 94.3)
XYZxyz(36.2809, 38.6119, 8.5589)
Luminance0.3861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A532 #324FC2
analogous
#C25D32 #C2A532 #97C232
triadic
#C2A532 #32C2A5 #A532C2
tetradic
#C2A532 #32C25D #324FC2 #C23297
square
#C2A532 #32C25D #324FC2 #C23297
split-complementary
#C2A532 #3297C2 #5D32C2
monochromatic
#615219 #917C25 #C2A532 #D5BD5C #E2D18D

Accessibility & contrast

On white

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

On black

8.72
#C2A532 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A532
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A532#FFFFFF#000000##000000
##C2A5321.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21F
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#D2988E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c2a532;
/* rgb */ color: rgb(194, 165, 50);
/* oklch */ color: oklch(72.8% 0.133 94.3);
Tailwind
colors: {
  custom: {
    50: '#d8bf72',
    500: '#c2a532',
    950: '#000000',
  },
}
SCSS
$custom: #c2a532;
$custom-light: #d8bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a532",
  "rgb": {
    "r": 194,
    "g": 165,
    "b": 50
  },
  "hsl": {
    "h": 47.917,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72778,
    "c": 0.13254,
    "h": 94.3
  },
  "luminance": 0.3861
}

Semantic roles & 50–950 ramp

primary
#C2A532
secondary
#8492CC
accent
#65E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A532

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

Preview Lab → · Contrast checker → · Palette generator →

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