#C2AA52#C2AA52

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

Color values

HEX#C2AA52
RGBrgb(194, 170, 82)
HSLhsl(47, 48%, 54%)
HSVhsv(47, 58%, 76%)
CMYKcmyk(0%, 12.4%, 57.7%, 23.9%)
CIE-LABlab(70.06, -2.12, 47.78)
CIE-LCHlch(70.06, 47.83, 92.53°)
OKLaboklab(74.12% -0.0083 0.1113)
OKLCHoklch(74.12% 0.112 94.3)
XYZxyz(38.1474, 40.8298, 13.8526)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA52 #526AC2
analogous
#C27252 #C2AA52 #A2C252
triadic
#C2AA52 #52C2AA #AA52C2
tetradic
#C2AA52 #52C272 #526AC2 #C252A2
square
#C2AA52 #52C272 #526AC2 #C252A2
split-complementary
#C2AA52 #52A2C2 #7252C2
monochromatic
#726228 #9F8938 #C2AA52 #D2C07F #E2D6AC

Accessibility & contrast

On white

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

On black

9.17
#C2AA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA52
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA52#FFFFFF#000000##000000
##C2AA521.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A749
Deuteranopia (green-blind)
#C0AE56
Tritanopia (blue-blind)
#D09F96
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2aa52;
/* rgb */ color: rgb(194, 170, 82);
/* oklch */ color: oklch(74.1% 0.112 94.3);
Tailwind
colors: {
  custom: {
    50: '#d7c385',
    500: '#c2aa52',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa52;
$custom-light: #d7c385;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa52",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 82
  },
  "hsl": {
    "h": 47.143,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.74119,
    "c": 0.11162,
    "h": 94.3
  },
  "luminance": 0.40828
}

Semantic roles & 50–950 ramp

primary
#C2AA52
secondary
#A0AAD0
accent
#6DD750
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2AA52

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

Preview Lab → · Contrast checker → · Palette generator →

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