#C2AA34#C2AA34

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

Color values

HEX#C2AA34
RGBrgb(194, 170, 52)
HSLhsl(50, 58%, 48%)
HSVhsv(50, 73%, 76%)
CMYKcmyk(0%, 12.4%, 73.2%, 23.9%)
CIE-LABlab(69.80, -3.95, 60.50)
CIE-LCHlch(69.80, 60.63, 93.74°)
OKLaboklab(73.84% -0.0171 0.1337)
OKLCHoklch(73.84% 0.135 97.3)
XYZxyz(37.2446, 40.4686, 9.0976)
Luminance0.4047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AA34 #344CC2
analogous
#C26334 #C2AA34 #93C234
triadic
#C2AA34 #34C2AA #AA34C2
tetradic
#C2AA34 #34C263 #344CC2 #C23493
square
#C2AA34 #34C263 #344CC2 #C23493
split-complementary
#C2AA34 #3493C2 #6334C2
monochromatic
#61551A #928027 #C2AA34 #D4C05F #E1D38F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AA34#FFFFFF#000000##000000
##C2AA341.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)
#BBA620
Deuteranopia (green-blind)
#C1AE3B
Tritanopia (blue-blind)
#D19D93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #c2aa34;
/* rgb */ color: rgb(194, 170, 52);
/* oklch */ color: oklch(73.8% 0.135 97.3);
Tailwind
colors: {
  custom: {
    50: '#d8c273',
    500: '#c2aa34',
    950: '#000000',
  },
}
SCSS
$custom: #c2aa34;
$custom-light: #d8c273;
$custom-dark: #000000;
JSON
{
  "hex": "#c2aa34",
  "rgb": {
    "r": 194,
    "g": 170,
    "b": 52
  },
  "hsl": {
    "h": 49.859,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.73836,
    "c": 0.13478,
    "h": 97.3
  },
  "luminance": 0.40467
}

Semantic roles & 50–950 ramp

primary
#C2AA34
secondary
#8692CC
accent
#61E147
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AA34

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

Preview Lab → · Contrast checker → · Palette generator →

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