#C2AA40#C2AA40

#C2AA40 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.9% C 0.127 H 96.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#C2AA40
RGBrgb(194, 170, 64)
HSLhsl(49, 52%, 51%)
HSVhsv(49, 67%, 76%)
CMYKcmyk(0%, 12.4%, 67%, 23.9%)
CIE-LABlab(69.89, -3.33, 55.77)
CIE-LCHlch(69.89, 55.87, 93.41°)
OKLaboklab(73.93% -0.0139 0.1258)
OKLCHoklch(73.93% 0.127 96.3)
XYZxyz(37.5500, 40.5908, 10.7064)
Luminance0.4059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA40 #4058C2
analogous
#C26940 #C2AA40 #99C240
triadic
#C2AA40 #40C2AA #AA40C2
tetradic
#C2AA40 #40C269 #4058C2 #C24099
square
#C2AA40 #40C269 #4058C2 #C24099
split-complementary
#C2AA40 #4099C2 #6940C2
monochromatic
#675A21 #958230 #C2AA40 #D1BF6E #E0D39D

Accessibility & contrast

On white

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

On black

9.12
#C2AA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA40
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA40#FFFFFF#000000##000000
##C2AA401.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA633
Deuteranopia (green-blind)
#C1AE46
Tritanopia (blue-blind)
#D19D94
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2aa40;
/* rgb */ color: rgb(194, 170, 64);
/* oklch */ color: oklch(73.9% 0.127 96.3);
Tailwind
colors: {
  custom: {
    50: '#d8c37a',
    500: '#c2aa40',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa40;
$custom-light: #d8c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa40",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 64
  },
  "hsl": {
    "h": 48.923,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73932,
    "c": 0.12659,
    "h": 96.3
  },
  "luminance": 0.40589
}

Semantic roles & 50–950 ramp

primary
#C2AA40
secondary
#929DCC
accent
#67DB4D
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AA40

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

Preview Lab → · Contrast checker → · Palette generator →

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