#C2AA45#C2AA45

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

Color values

HEX#C2AA45
RGBrgb(194, 170, 69)
HSLhsl(48, 51%, 52%)
HSVhsv(48, 64%, 76%)
CMYKcmyk(0%, 12.4%, 64.4%, 23.9%)
CIE-LABlab(69.93, -3.02, 53.65)
CIE-LCHlch(69.93, 53.73, 93.22°)
OKLaboklab(73.98% -0.0125 0.1221)
OKLCHoklch(73.98% 0.123 95.8)
XYZxyz(37.6987, 40.6503, 11.4897)
Luminance0.4065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA45 #455DC2
analogous
#C26C45 #C2AA45 #9CC245
triadic
#C2AA45 #45C2AA #AA45C2
tetradic
#C2AA45 #45C26C #455DC2 #C2459C
square
#C2AA45 #45C26C #455DC2 #C2459C
split-complementary
#C2AA45 #459CC2 #6C45C2
monochromatic
#6A5C23 #988432 #C2AA45 #D1BF73 #E0D4A1

Accessibility & contrast

On white

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

On black

9.13
#C2AA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA45
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA45#FFFFFF#000000##000000
##C2AA451.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2aa45;
/* rgb */ color: rgb(194, 170, 69);
/* oklch */ color: oklch(74.0% 0.123 95.8);
Tailwind
colors: {
  custom: {
    50: '#d8c37d',
    500: '#c2aa45',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa45;
$custom-light: #d8c37d;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa45",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 69
  },
  "hsl": {
    "h": 48.48,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.73979,
    "c": 0.12274,
    "h": 95.8
  },
  "luminance": 0.40648
}

Semantic roles & 50–950 ramp

primary
#C2AA45
secondary
#96A0CD
accent
#69DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AA45

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

Preview Lab → · Contrast checker → · Palette generator →

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