#C2AC35#C2AC35

#C2AC35 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.136 H 98.4°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#C2AC35
RGBrgb(194, 172, 53)
HSLhsl(51, 57%, 48%)
HSVhsv(51, 73%, 76%)
CMYKcmyk(0%, 11.3%, 72.7%, 23.9%)
CIE-LABlab(70.34, -4.96, 60.65)
CIE-LCHlch(70.34, 60.85, 94.67°)
OKLaboklab(74.26% -0.0198 0.1342)
OKLCHoklch(74.26% 0.136 98.4)
XYZxyz(37.6451, 41.2333, 9.3434)
Luminance0.4123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC35 #354BC2
analogous
#C26535 #C2AC35 #91C235
triadic
#C2AC35 #35C2AC #AC35C2
tetradic
#C2AC35 #35C265 #354BC2 #C23591
square
#C2AC35 #35C265 #354BC2 #C23591
split-complementary
#C2AC35 #3591C2 #6535C2
monochromatic
#62571B #928128 #C2AC35 #D4C260 #E1D491

Accessibility & contrast

On white

2.27
#C2AC35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#C2AC35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC35
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC35#FFFFFF#000000##000000
##C2AC351.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA821
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#D19F95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac35;
/* rgb */ color: rgb(194, 172, 53);
/* oklch */ color: oklch(74.3% 0.136 98.4);
Tailwind
colors: {
  custom: {
    50: '#d8c474',
    500: '#c2ac35',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac35;
$custom-light: #d8c474;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac35",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 53
  },
  "hsl": {
    "h": 50.638,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74264,
    "c": 0.13564,
    "h": 98.4
  },
  "luminance": 0.41231
}

Semantic roles & 50–950 ramp

primary
#C2AC35
secondary
#8792CC
accent
#5FE047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AC35

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

Preview Lab → · Contrast checker → · Palette generator →

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