#C2AA33#C2AA33

#C2AA33 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.135 H 97.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#C2AA33
RGBrgb(194, 170, 51)
HSLhsl(50, 58%, 48%)
HSVhsv(50, 74%, 76%)
CMYKcmyk(0%, 12.4%, 73.7%, 23.9%)
CIE-LABlab(69.80, -4.00, 60.87)
CIE-LCHlch(69.80, 61.00, 93.76°)
OKLaboklab(73.83% -0.0173 0.1343)
OKLCHoklch(73.83% 0.135 97.4)
XYZxyz(37.2223, 40.4597, 8.9802)
Luminance0.4046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA33 #334BC2
analogous
#C26233 #C2AA33 #92C233
triadic
#C2AA33 #33C2AA #AA33C2
tetradic
#C2AA33 #33C262 #334BC2 #C23392
square
#C2AA33 #33C262 #334BC2 #C23392
split-complementary
#C2AA33 #3392C2 #6233C2
monochromatic
#61551A #928026 #C2AA33 #D5C15E #E1D38E

Accessibility & contrast

On white

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

On black

9.09
#C2AA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AA33
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AA33#FFFFFF#000000##000000
##C2AA331.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61F
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#D19D93
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c2aa33;
/* rgb */ color: rgb(194, 170, 51);
/* oklch */ color: oklch(73.8% 0.135 97.4);
Tailwind
colors: {
  custom: {
    50: '#d8c273',
    500: '#c2aa33',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa33;
$custom-light: #d8c273;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa33",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 51
  },
  "hsl": {
    "h": 49.93,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73829,
    "c": 0.13538,
    "h": 97.4
  },
  "luminance": 0.40458
}

Semantic roles & 50–950 ramp

primary
#C2AA33
secondary
#8591CC
accent
#60E246
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AA33

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

Preview Lab → · Contrast checker → · Palette generator →

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