#C3A221#C3A221

#C3A221 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.139 H 93.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#C3A221
RGBrgb(195, 162, 33)
HSLhsl(48, 71%, 45%)
HSVhsv(48, 83%, 76%)
CMYKcmyk(0%, 16.9%, 83.1%, 23.5%)
CIE-LABlab(67.69, 0.03, 64.92)
CIE-LCHlch(67.69, 64.92, 89.98°)
OKLaboklab(72.16% -0.0076 0.1393)
OKLCHoklch(72.16% 0.139 93.1)
XYZxyz(35.7026, 37.5548, 6.8069)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A221 #2142C3
analogous
#C35121 #C3A221 #93C321
triadic
#C3A221 #21C3A2 #A221C3
tetradic
#C3A221 #21C351 #2142C3 #C32193
square
#C3A221 #21C351 #2142C3 #C32193
split-complementary
#C3A221 #2193C3 #5121C3
monochromatic
#5A4B0F #8F7718 #C3A221 #DFBF42 #E8D177

Accessibility & contrast

On white

2.47
#C3A221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#C3A221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A221
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A221#FFFFFF#000000##000000
##C3A2211.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#BDA92B
Tritanopia (blue-blind)
#D3948B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c3a221;
/* rgb */ color: rgb(195, 162, 33);
/* oklch */ color: oklch(72.2% 0.139 93.1);
Tailwind
colors: {
  custom: {
    50: '#dabd6a',
    500: '#c3a221',
    950: '#000000',
  },
}
SCSS
$custom: #c3a221;
$custom-light: #dabd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a221",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 47.778,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72158,
    "c": 0.13949,
    "h": 93.1
  },
  "luminance": 0.37553
}

Semantic roles & 50–950 ramp

primary
#C3A221
secondary
#7184CF
accent
#5FEE3A
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A

Preview Lab

Preview with #C3A221

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

Preview Lab → · Contrast checker → · Palette generator →

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