#C2AA39#C2AA39

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

Color values

HEX#C2AA39
RGBrgb(194, 170, 57)
HSLhsl(49, 55%, 49%)
HSVhsv(49, 71%, 76%)
CMYKcmyk(0%, 12.4%, 70.6%, 23.9%)
CIE-LABlab(69.84, -3.71, 58.60)
CIE-LCHlch(69.84, 58.72, 93.62°)
OKLaboklab(73.87% -0.0158 0.1306)
OKLCHoklch(73.87% 0.132 96.9)
XYZxyz(37.3632, 40.5161, 9.7225)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA39 #3951C2
analogous
#C26639 #C2AA39 #96C239
triadic
#C2AA39 #39C2AA #AA39C2
tetradic
#C2AA39 #39C266 #3951C2 #C23996
square
#C2AA39 #39C266 #3951C2 #C23996
split-complementary
#C2AA39 #3996C2 #6639C2
monochromatic
#63571D #93812B #C2AA39 #D2BF66 #E0D395

Accessibility & contrast

On white

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

On black

9.10
#C2AA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA39
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA39#FFFFFF#000000##000000
##C2AA391.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2aa39;
/* rgb */ color: rgb(194, 170, 57);
/* oklch */ color: oklch(73.9% 0.132 96.9);
Tailwind
colors: {
  custom: {
    50: '#d8c276',
    500: '#c2aa39',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa39;
$custom-light: #d8c276;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa39",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 57
  },
  "hsl": {
    "h": 49.489,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73874,
    "c": 0.13155,
    "h": 96.9
  },
  "luminance": 0.40514
}

Semantic roles & 50–950 ramp

primary
#C2AA39
secondary
#8B97CB
accent
#64DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AA39

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

Preview Lab → · Contrast checker → · Palette generator →

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