#C2AC40#C2AC40

#C2AC40 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.4% C 0.128 H 97.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#C2AC40
RGBrgb(194, 172, 64)
HSLhsl(50, 52%, 51%)
HSVhsv(50, 67%, 76%)
CMYKcmyk(0%, 11.3%, 67%, 23.9%)
CIE-LABlab(70.42, -4.38, 56.32)
CIE-LCHlch(70.42, 56.49, 94.45°)
OKLaboklab(74.35% -0.017 0.127)
OKLCHoklch(74.35% 0.128 97.6)
XYZxyz(37.9278, 41.3464, 10.8324)
Luminance0.4134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC40 #4056C2
analogous
#C26B40 #C2AC40 #97C240
triadic
#C2AC40 #40C2AC #AC40C2
tetradic
#C2AC40 #40C26B #4056C2 #C24097
square
#C2AC40 #40C26B #4056C2 #C24097
split-complementary
#C2AC40 #4097C2 #6B40C2
monochromatic
#675B21 #958430 #C2AC40 #D1C06E #E0D49D

Accessibility & contrast

On white

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

On black

9.27
#C2AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC40
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC40#FFFFFF#000000##000000
##C2AC401.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#D1A096
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac40;
/* rgb */ color: rgb(194, 172, 64);
/* oklch */ color: oklch(74.4% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#d8c47a',
    500: '#c2ac40',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac40;
$custom-light: #d8c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac40",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 49.846,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74352,
    "c": 0.12812,
    "h": 97.6
  },
  "luminance": 0.41345
}

Semantic roles & 50–950 ramp

primary
#C2AC40
secondary
#929CCC
accent
#65DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C2AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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