#C2A22A#C2A22A

#C2A22A is a light, vivid yellow. Relative luminance 0.375; OKLCH L 72.1% C 0.135 H 93.1°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#C2A22A
RGBrgb(194, 162, 42)
HSLhsl(47, 64%, 46%)
HSVhsv(47, 78%, 76%)
CMYKcmyk(0%, 16.5%, 78.4%, 23.9%)
CIE-LABlab(67.64, -0.12, 62.03)
CIE-LCHlch(67.64, 62.03, 90.11°)
OKLaboklab(72.1% -0.0072 0.135)
OKLCHoklch(72.1% 0.135 93.1)
XYZxyz(35.5884, 37.4793, 7.5498)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2A22A #2A4AC2
analogous
#C2562A #C2A22A #96C22A
triadic
#C2A22A #2AC2A2 #A22AC2
tetradic
#C2A22A #2AC256 #2A4AC2 #C22A96
square
#C2A22A #2AC256 #2A4AC2 #C22A96
split-complementary
#C2A22A #2A96C2 #562AC2
monochromatic
#5D4E14 #90781F #C2A22A #D9BC50 #E4CF82

Accessibility & contrast

On white

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

On black

8.50
#C2A22A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2A22A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2A22A#FFFFFF#000000##000000
##C2A22A1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2a22a;
/* rgb */ color: rgb(194, 162, 42);
/* oklch */ color: oklch(72.1% 0.135 93.1);
Tailwind
colors: {
  custom: {
    50: '#d9bd6e',
    500: '#c2a22a',
    950: '#000000',
  },
}
SCSS
$custom: #c2a22a;
$custom-light: #d9bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2a22a",
  "rgb": {
    "r": 194,
    "g": 162,
    "b": 42
  },
  "hsl": {
    "h": 47.368,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72104,
    "c": 0.13515,
    "h": 93.1
  },
  "luminance": 0.37477
}

Semantic roles & 50–950 ramp

primary
#C2A22A
secondary
#7B8CCD
accent
#64E740
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #C2A22A

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

Preview Lab → · Contrast checker → · Palette generator →

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