#C2AC3E#C2AC3E

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

Color values

HEX#C2AC3E
RGBrgb(194, 172, 62)
HSLhsl(50, 52%, 50%)
HSVhsv(50, 68%, 76%)
CMYKcmyk(0%, 11.3%, 68%, 23.9%)
CIE-LABlab(70.40, -4.50, 57.14)
CIE-LCHlch(70.40, 57.32, 94.50°)
OKLaboklab(74.33% -0.0175 0.1284)
OKLCHoklch(74.33% 0.13 97.8)
XYZxyz(37.8719, 41.3240, 10.5380)
Luminance0.4132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC3E #3E54C2
analogous
#C26A3E #C2AC3E #96C23E
triadic
#C2AC3E #3EC2AC #AC3EC2
tetradic
#C2AC3E #3EC26A #3E54C2 #C23E96
square
#C2AC3E #3EC26A #3E54C2 #C23E96
split-complementary
#C2AC3E #3E96C2 #6A3EC2
monochromatic
#665A20 #94832F #C2AC3E #D1C06D #DFD49B

Accessibility & contrast

On white

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

On black

9.26
#C2AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC3E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC3E#FFFFFF#000000##000000
##C2AC3E1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2ac3e;
/* rgb */ color: rgb(194, 172, 62);
/* oklch */ color: oklch(74.3% 0.130 97.8);
Tailwind
colors: {
  custom: {
    50: '#d8c479',
    500: '#c2ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac3e;
$custom-light: #d8c479;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac3e",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 50,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74334,
    "c": 0.12958,
    "h": 97.8
  },
  "luminance": 0.41322
}

Semantic roles & 50–950 ramp

primary
#C2AC3E
secondary
#909ACB
accent
#64DB4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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