#C2AC3B#C2AC3B

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

Color values

HEX#C2AC3B
RGBrgb(194, 172, 59)
HSLhsl(50, 53%, 50%)
HSVhsv(50, 70%, 76%)
CMYKcmyk(0%, 11.3%, 69.6%, 23.9%)
CIE-LABlab(70.38, -4.66, 58.35)
CIE-LCHlch(70.38, 58.53, 94.57°)
OKLaboklab(74.31% -0.0183 0.1304)
OKLCHoklch(74.31% 0.132 98)
XYZxyz(37.7919, 41.2920, 10.1164)
Luminance0.4129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC3B #3B51C2
analogous
#C2683B #C2AC3B #95C23B
triadic
#C2AC3B #3BC2AC #AC3BC2
tetradic
#C2AC3B #3BC268 #3B51C2 #C23B95
square
#C2AC3B #3BC268 #3B51C2 #C23B95
split-complementary
#C2AC3B #3B95C2 #683BC2
monochromatic
#64591E #93822D #C2AC3B #D1C069 #E0D498

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AC3B#FFFFFF#000000##000000
##C2AC3B1.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)
#BDA82B
Deuteranopia (green-blind)
#C3AF42
Tritanopia (blue-blind)
#D19F95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c2ac3b;
/* rgb */ color: rgb(194, 172, 59);
/* oklch */ color: oklch(74.3% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#d8c477',
    500: '#c2ac3b',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac3b;
$custom-light: #d8c477;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac3b",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 59
  },
  "hsl": {
    "h": 50.222,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.7431,
    "c": 0.13169,
    "h": 98
  },
  "luminance": 0.4129
}

Semantic roles & 50–950 ramp

primary
#C2AC3B
secondary
#8E98CB
accent
#63DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C2AC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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