#C2AA42#C2AA42

#C2AA42 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.0% C 0.125 H 96.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#C2AA42
RGBrgb(194, 170, 66)
HSLhsl(49, 51%, 51%)
HSVhsv(49, 66%, 76%)
CMYKcmyk(0%, 12.4%, 66%, 23.9%)
CIE-LABlab(69.90, -3.21, 54.93)
CIE-LCHlch(69.90, 55.02, 93.34°)
OKLaboklab(73.95% -0.0134 0.1244)
OKLCHoklch(73.95% 0.125 96.1)
XYZxyz(37.6080, 40.6140, 11.0116)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA42 #425AC2
analogous
#C26A42 #C2AA42 #9AC242
triadic
#C2AA42 #42C2AA #AA42C2
tetradic
#C2AA42 #42C26A #425AC2 #C2429A
square
#C2AA42 #42C26A #425AC2 #C2429A
split-complementary
#C2AA42 #429AC2 #6A42C2
monochromatic
#685B22 #968331 #C2AA42 #D1BF70 #E0D49F

Accessibility & contrast

On white

2.30
#C2AA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#C2AA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA42
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA42#FFFFFF#000000##000000
##C2AA421.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA635
Deuteranopia (green-blind)
#C1AE47
Tritanopia (blue-blind)
#D19E94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2aa42;
/* rgb */ color: rgb(194, 170, 66);
/* oklch */ color: oklch(74.0% 0.125 96.1);
Tailwind
colors: {
  custom: {
    50: '#d8c37b',
    500: '#c2aa42',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa42;
$custom-light: #d8c37b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa42",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 66
  },
  "hsl": {
    "h": 48.75,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.73951,
    "c": 0.12508,
    "h": 96.1
  },
  "luminance": 0.40612
}

Semantic roles & 50–950 ramp

primary
#C2AA42
secondary
#949ECC
accent
#68DB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AA42

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

Preview Lab → · Contrast checker → · Palette generator →

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