#C3A22A#C3A22A

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

Color values

HEX#C3A22A
RGBrgb(195, 162, 42)
HSLhsl(47, 65%, 46%)
HSVhsv(47, 78%, 76%)
CMYKcmyk(0%, 16.9%, 78.5%, 23.5%)
CIE-LABlab(67.73, 0.33, 62.16)
CIE-LCHlch(67.73, 62.16, 89.70°)
OKLaboklab(72.21% -0.006 0.1352)
OKLCHoklch(72.21% 0.135 92.5)
XYZxyz(35.8460, 37.6121, 7.5619)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3A22A #2A4BC3
analogous
#C3562A #C3A22A #98C32A
triadic
#C3A22A #2AC3A2 #A22AC3
tetradic
#C3A22A #2AC356 #2A4BC3 #C32A98
square
#C3A22A #2AC356 #2A4BC3 #C32A98
split-complementary
#C3A22A #2A98C3 #562AC3
monochromatic
#5E4E14 #91781F #C3A22A #D9BC51 #E4CF83

Accessibility & contrast

On white

2.46
#C3A22A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#C3A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3A22A
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3A22A#FFFFFF#000000##000000
##C3A22A1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c3a22a;
/* rgb */ color: rgb(195, 162, 42);
/* oklch */ color: oklch(72.2% 0.135 92.5);
Tailwind
colors: {
  custom: {
    50: '#dabd6e',
    500: '#c3a22a',
    950: '#000000',
  },
}
SCSS
$custom: #c3a22a;
$custom-light: #dabd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c3a22a",
  "rgb": {
    "r": 195,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 47.059,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72205,
    "c": 0.13532,
    "h": 92.5
  },
  "luminance": 0.3761
}

Semantic roles & 50–950 ramp

primary
#C3A22A
secondary
#7B8DCD
accent
#64E840
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#151208
muted
#84817B

Preview Lab

Preview with #C3A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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