#C2AC34#C2AC34

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

Color values

HEX#C2AC34
RGBrgb(194, 172, 52)
HSLhsl(51, 58%, 48%)
HSVhsv(51, 73%, 76%)
CMYKcmyk(0%, 11.3%, 73.2%, 23.9%)
CIE-LABlab(70.33, -5.01, 61.01)
CIE-LCHlch(70.33, 61.22, 94.69°)
OKLaboklab(74.26% -0.0201 0.1348)
OKLCHoklch(74.26% 0.136 98.5)
XYZxyz(37.6223, 41.2242, 9.2235)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC34 #344AC2
analogous
#C26534 #C2AC34 #91C234
triadic
#C2AC34 #34C2AC #AC34C2
tetradic
#C2AC34 #34C265 #344AC2 #C23491
square
#C2AC34 #34C265 #344AC2 #C23491
split-complementary
#C2AC34 #3491C2 #6534C2
monochromatic
#61561A #928127 #C2AC34 #D4C25F #E1D48F

Accessibility & contrast

On white

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

On black

9.24
#C2AC34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC34
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC34#FFFFFF#000000##000000
##C2AC341.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ac34;
/* rgb */ color: rgb(194, 172, 52);
/* oklch */ color: oklch(74.3% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#d8c474',
    500: '#c2ac34',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac34;
$custom-light: #d8c474;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac34",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 52
  },
  "hsl": {
    "h": 50.704,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74257,
    "c": 0.13626,
    "h": 98.5
  },
  "luminance": 0.41222
}

Semantic roles & 50–950 ramp

primary
#C2AC34
secondary
#8691CC
accent
#5FE147
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AC34

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

Preview Lab → · Contrast checker → · Palette generator →

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