#C2A732#C2A732

#C2A732 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.134 H 95.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#C2A732
RGBrgb(194, 167, 50)
HSLhsl(49, 59%, 48%)
HSVhsv(49, 74%, 76%)
CMYKcmyk(0%, 13.9%, 74.2%, 23.9%)
CIE-LABlab(69.00, -2.45, 60.47)
CIE-LCHlch(69.00, 60.52, 92.32°)
OKLaboklab(73.19% -0.013 0.1332)
OKLCHoklch(73.19% 0.134 95.6)
XYZxyz(36.6445, 39.3391, 8.6800)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A732 #324DC2
analogous
#C25F32 #C2A732 #95C232
triadic
#C2A732 #32C2A7 #A732C2
tetradic
#C2A732 #32C25F #324DC2 #C23295
square
#C2A732 #32C25F #324DC2 #C23295
split-complementary
#C2A732 #3295C2 #5F32C2
monochromatic
#615319 #917D25 #C2A732 #D5BE5C #E2D28D

Accessibility & contrast

On white

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

On black

8.87
#C2A732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A732
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A732#FFFFFF#000000##000000
##C2A7321.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41E
Deuteranopia (green-blind)
#BFAC39
Tritanopia (blue-blind)
#D29A90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #c2a732;
/* rgb */ color: rgb(194, 167, 50);
/* oklch */ color: oklch(73.2% 0.134 95.6);
Tailwind
colors: {
  custom: {
    50: '#d8c072',
    500: '#c2a732',
    950: '#000000',
  },
}
SCSS
$custom: #c2a732;
$custom-light: #d8c072;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a732",
  "rgb": {
    "r": 194,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 48.75,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.73195,
    "c": 0.13388,
    "h": 95.6
  },
  "luminance": 0.39337
}

Semantic roles & 50–950 ramp

primary
#C2A732
secondary
#8491CC
accent
#63E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A732

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

Preview Lab → · Contrast checker → · Palette generator →

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