#C2A533#C2A533

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

Color values

HEX#C2A533
RGBrgb(194, 165, 51)
HSLhsl(48, 58%, 48%)
HSVhsv(48, 74%, 76%)
CMYKcmyk(0%, 14.9%, 73.7%, 23.9%)
CIE-LABlab(68.48, -1.34, 59.59)
CIE-LCHlch(68.48, 59.61, 91.29°)
OKLaboklab(72.79% -0.0098 0.1316)
OKLCHoklch(72.79% 0.132 94.2)
XYZxyz(36.3027, 38.6207, 8.6737)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A533 #3350C2
analogous
#C25D33 #C2A533 #97C233
triadic
#C2A533 #33C2A5 #A533C2
tetradic
#C2A533 #33C25D #3350C2 #C23397
square
#C2A533 #33C25D #3350C2 #C23397
split-complementary
#C2A533 #3397C2 #5D33C2
monochromatic
#61531A #927C26 #C2A533 #D5BC5E #E1D08E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2A533#FFFFFF#000000##000000
##C2A5331.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)
#B7A220
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#D2988F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c2a533;
/* rgb */ color: rgb(194, 165, 51);
/* oklch */ color: oklch(72.8% 0.132 94.2);
Tailwind
colors: {
  custom: {
    50: '#d8bf72',
    500: '#c2a533',
    950: '#000000',
  },
}
SCSS
$custom: #c2a533;
$custom-light: #d8bf72;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a533",
  "rgb": {
    "r": 194,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 47.832,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72785,
    "c": 0.13193,
    "h": 94.2
  },
  "luminance": 0.38619
}

Semantic roles & 50–950 ramp

primary
#C2A533
secondary
#8593CC
accent
#66E246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A533

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

Preview Lab → · Contrast checker → · Palette generator →

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