#C2A032#C2A032

#C2A032 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.7% C 0.130 H 91.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C2A032
RGBrgb(194, 160, 50)
HSLhsl(46, 59%, 48%)
HSVhsv(46, 74%, 76%)
CMYKcmyk(0%, 17.5%, 74.2%, 23.9%)
CIE-LABlab(67.16, 1.29, 58.70)
CIE-LCHlch(67.16, 58.71, 88.75°)
OKLaboklab(71.74% -0.0024 0.1295)
OKLCHoklch(71.74% 0.13 91)
XYZxyz(35.3967, 36.8434, 8.2641)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A032 #3254C2
analogous
#C25832 #C2A032 #9CC232
triadic
#C2A032 #32C2A0 #A032C2
tetradic
#C2A032 #32C258 #3254C2 #C2329C
square
#C2A032 #32C258 #3254C2 #C2329C
split-complementary
#C2A032 #329CC2 #5832C2
monochromatic
#615019 #917825 #C2A032 #D5B85C #E2CE8D

Accessibility & contrast

On white

2.51
#C2A032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#C2A032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A032
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A032#FFFFFF#000000##000000
##C2A0321.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E20
Deuteranopia (green-blind)
#BAA838
Tritanopia (blue-blind)
#D2938A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c2a032;
/* rgb */ color: rgb(194, 160, 50);
/* oklch */ color: oklch(71.7% 0.130 91.0);
Tailwind
colors: {
  custom: {
    50: '#d9bb71',
    500: '#c2a032',
    950: '#000000',
  },
}
SCSS
$custom: #c2a032;
$custom-light: #d9bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a032",
  "rgb": {
    "r": 194,
    "g": 160,
    "b": 50
  },
  "hsl": {
    "h": 45.833,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71744,
    "c": 0.1295,
    "h": 91
  },
  "luminance": 0.36841
}

Semantic roles & 50–950 ramp

primary
#C2A032
secondary
#8495CC
accent
#6BE246
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C2A032

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

Preview Lab → · Contrast checker → · Palette generator →

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