#C2AA51#C2AA51

#C2AA51 is a light, moderate yellow. Relative luminance 0.408; OKLCH L 74.1% C 0.113 H 94.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#C2AA51
RGBrgb(194, 170, 81)
HSLhsl(47, 48%, 54%)
HSVhsv(47, 58%, 76%)
CMYKcmyk(0%, 12.4%, 58.2%, 23.9%)
CIE-LABlab(70.05, -2.19, 48.25)
CIE-LCHlch(70.05, 48.30, 92.60°)
OKLaboklab(74.11% -0.0086 0.1122)
OKLCHoklch(74.11% 0.113 94.4)
XYZxyz(38.1096, 40.8147, 13.6536)
Luminance0.4081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA51 #5169C2
analogous
#C27251 #C2AA51 #A2C251
triadic
#C2AA51 #51C2AA #AA51C2
tetradic
#C2AA51 #51C272 #5169C2 #C251A2
square
#C2AA51 #51C272 #5169C2 #C251A2
split-complementary
#C2AA51 #51A2C2 #7251C2
monochromatic
#716128 #9E8837 #C2AA51 #D2C07E #E2D6AC

Accessibility & contrast

On white

2.29
#C2AA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#C2AA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA51
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA51#FFFFFF#000000##000000
##C2AA511.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA748
Deuteranopia (green-blind)
#C0AE55
Tritanopia (blue-blind)
#D09E96
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2aa51;
/* rgb */ color: rgb(194, 170, 81);
/* oklch */ color: oklch(74.1% 0.113 94.4);
Tailwind
colors: {
  custom: {
    50: '#d7c385',
    500: '#c2aa51',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa51;
$custom-light: #d7c385;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa51",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 81
  },
  "hsl": {
    "h": 47.257,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74108,
    "c": 0.11253,
    "h": 94.4
  },
  "luminance": 0.40813
}

Semantic roles & 50–950 ramp

primary
#C2AA51
secondary
#9FAAD0
accent
#6DD850
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2AA51

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

Preview Lab → · Contrast checker → · Palette generator →

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