#C2AA37#C2AA37

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

Color values

HEX#C2AA37
RGBrgb(194, 170, 55)
HSLhsl(50, 56%, 49%)
HSVhsv(50, 72%, 76%)
CMYKcmyk(0%, 12.4%, 71.6%, 23.9%)
CIE-LABlab(69.82, -3.81, 59.37)
CIE-LCHlch(69.82, 59.49, 93.67°)
OKLaboklab(73.86% -0.0163 0.1319)
OKLCHoklch(73.86% 0.133 97.1)
XYZxyz(37.3143, 40.4965, 9.4649)
Luminance0.4049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA37 #374FC2
analogous
#C26537 #C2AA37 #95C237
triadic
#C2AA37 #37C2AA #AA37C2
tetradic
#C2AA37 #37C265 #374FC2 #C23795
square
#C2AA37 #37C265 #374FC2 #C23795
split-complementary
#C2AA37 #3795C2 #6537C2
monochromatic
#63561C #928029 #C2AA37 #D3C063 #E0D393

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AA37#FFFFFF#000000##000000
##C2AA371.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)
#BBA625
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#D19D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2aa37;
/* rgb */ color: rgb(194, 170, 55);
/* oklch */ color: oklch(73.9% 0.133 97.1);
Tailwind
colors: {
  custom: {
    50: '#d8c275',
    500: '#c2aa37',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa37;
$custom-light: #d8c275;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa37",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 55
  },
  "hsl": {
    "h": 49.64,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73858,
    "c": 0.13287,
    "h": 97.1
  },
  "luminance": 0.40495
}

Semantic roles & 50–950 ramp

primary
#C2AA37
secondary
#8995CB
accent
#63DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AA37

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

Preview Lab → · Contrast checker → · Palette generator →

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