#C2AA48#C2AA48

#C2AA48 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.0% C 0.120 H 95.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#C2AA48
RGBrgb(194, 170, 72)
HSLhsl(48, 50%, 52%)
HSVhsv(48, 63%, 76%)
CMYKcmyk(0%, 12.4%, 62.9%, 23.9%)
CIE-LABlab(69.96, -2.83, 52.33)
CIE-LCHlch(69.96, 52.41, 93.09°)
OKLaboklab(74.01% -0.0116 0.1198)
OKLCHoklch(74.01% 0.12 95.5)
XYZxyz(37.7942, 40.6885, 11.9926)
Luminance0.4069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA48 #4860C2
analogous
#C26D48 #C2AA48 #9DC248
triadic
#C2AA48 #48C2AA #AA48C2
tetradic
#C2AA48 #48C26D #4860C2 #C2489D
square
#C2AA48 #48C26D #4860C2 #C2489D
split-complementary
#C2AA48 #489DC2 #6D48C2
monochromatic
#6C5E24 #9A8533 #C2AA48 #D1BF76 #E1D5A4

Accessibility & contrast

On white

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

On black

9.14
#C2AA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA48
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA48#FFFFFF#000000##000000
##C2AA481.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA73D
Deuteranopia (green-blind)
#C0AE4D
Tritanopia (blue-blind)
#D19E95
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2aa48;
/* rgb */ color: rgb(194, 170, 72);
/* oklch */ color: oklch(74.0% 0.120 95.5);
Tailwind
colors: {
  custom: {
    50: '#d7c37f',
    500: '#c2aa48',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa48;
$custom-light: #d7c37f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa48",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 72
  },
  "hsl": {
    "h": 48.197,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74009,
    "c": 0.12032,
    "h": 95.5
  },
  "luminance": 0.40687
}

Semantic roles & 50–950 ramp

primary
#C2AA48
secondary
#98A3CE
accent
#6ADA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AA48

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

Preview Lab → · Contrast checker → · Palette generator →

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