#C2AA2C#C2AA2C

#C2AA2C is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.8% C 0.139 H 97.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#C2AA2C
RGBrgb(194, 170, 44)
HSLhsl(50, 63%, 47%)
HSVhsv(50, 77%, 76%)
CMYKcmyk(0%, 12.4%, 77.3%, 23.9%)
CIE-LABlab(69.76, -4.29, 63.30)
CIE-LCHlch(69.76, 63.44, 93.88°)
OKLaboklab(73.79% -0.0188 0.1381)
OKLCHoklch(73.79% 0.139 97.8)
XYZxyz(37.0794, 40.4026, 8.2278)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA2C #2C44C2
analogous
#C25F2C #C2AA2C #8FC22C
triadic
#C2AA2C #2CC2AA #AA2CC2
tetradic
#C2AA2C #2CC25F #2C44C2 #C22C8F
square
#C2AA2C #2CC25F #2C44C2 #C22C8F
split-complementary
#C2AA2C #2C8FC2 #5F2CC2
monochromatic
#5E5315 #907E21 #C2AA2C #D8C353 #E3D485

Accessibility & contrast

On white

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

On black

9.08
#C2AA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA2C
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA2C#FFFFFF#000000##000000
##C2AA2C1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA610
Deuteranopia (green-blind)
#C2AE35
Tritanopia (blue-blind)
#D29D92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c2aa2c;
/* rgb */ color: rgb(194, 170, 44);
/* oklch */ color: oklch(73.8% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#d9c26f',
    500: '#c2aa2c',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa2c;
$custom-light: #d9c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa2c",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 44
  },
  "hsl": {
    "h": 50.4,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.73785,
    "c": 0.13936,
    "h": 97.8
  },
  "luminance": 0.40401
}

Semantic roles & 50–950 ramp

primary
#C2AA2C
secondary
#7D8ACD
accent
#5CE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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