#C2AC39#C2AC39

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

Color values

HEX#C2AC39
RGBrgb(194, 172, 57)
HSLhsl(50, 55%, 49%)
HSVhsv(50, 71%, 76%)
CMYKcmyk(0%, 11.3%, 70.6%, 23.9%)
CIE-LABlab(70.37, -4.76, 59.13)
CIE-LCHlch(70.37, 59.32, 94.61°)
OKLaboklab(74.29% -0.0188 0.1317)
OKLCHoklch(74.29% 0.133 98.1)
XYZxyz(37.7410, 41.2716, 9.8484)
Luminance0.4127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC39 #394FC2
analogous
#C26839 #C2AC39 #94C239
triadic
#C2AC39 #39C2AC #AC39C2
tetradic
#C2AC39 #39C268 #394FC2 #C23994
square
#C2AC39 #39C268 #394FC2 #C23994
split-complementary
#C2AC39 #3994C2 #6839C2
monochromatic
#63581D #93822B #C2AC39 #D2C166 #E0D495

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AC39#FFFFFF#000000##000000
##C2AC391.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)
#BDA828
Deuteranopia (green-blind)
#C3AF40
Tritanopia (blue-blind)
#D19F95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac39;
/* rgb */ color: rgb(194, 172, 57);
/* oklch */ color: oklch(74.3% 0.133 98.1);
Tailwind
colors: {
  custom: {
    50: '#d8c476',
    500: '#c2ac39',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac39;
$custom-light: #d8c476;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac39",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 57
  },
  "hsl": {
    "h": 50.365,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74294,
    "c": 0.13305,
    "h": 98.1
  },
  "luminance": 0.4127
}

Semantic roles & 50–950 ramp

primary
#C2AC39
secondary
#8B96CB
accent
#62DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AC39

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

Preview Lab → · Contrast checker → · Palette generator →

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