#C2AA3B#C2AA3B

#C2AA3B is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.9% C 0.130 H 96.8°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#C2AA3B
RGBrgb(194, 170, 59)
HSLhsl(49, 53%, 50%)
HSVhsv(49, 70%, 76%)
CMYKcmyk(0%, 12.4%, 69.6%, 23.9%)
CIE-LABlab(69.85, -3.60, 57.81)
CIE-LCHlch(69.85, 57.92, 93.57°)
OKLaboklab(73.89% -0.0153 0.1293)
OKLCHoklch(73.89% 0.13 96.8)
XYZxyz(37.4141, 40.5365, 9.9904)
Luminance0.4053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA3B #3B53C2
analogous
#C2663B #C2AA3B #97C23B
triadic
#C2AA3B #3BC2AA #AA3BC2
tetradic
#C2AA3B #3BC266 #3B53C2 #C23B97
square
#C2AA3B #3BC266 #3B53C2 #C23B97
split-complementary
#C2AA3B #3B97C2 #663BC2
monochromatic
#64581E #93812D #C2AA3B #D1BF69 #E0D398

Accessibility & contrast

On white

2.31
#C2AA3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#C2AA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA3B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA3B#FFFFFF#000000##000000
##C2AA3B1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62B
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#D19D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2aa3b;
/* rgb */ color: rgb(194, 170, 59);
/* oklch */ color: oklch(73.9% 0.130 96.8);
Tailwind
colors: {
  custom: {
    50: '#d8c277',
    500: '#c2aa3b',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa3b;
$custom-light: #d8c277;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa3b",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 59
  },
  "hsl": {
    "h": 49.333,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7389,
    "c": 0.13018,
    "h": 96.8
  },
  "luminance": 0.40535
}

Semantic roles & 50–950 ramp

primary
#C2AA3B
secondary
#8E99CB
accent
#65DD4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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