#C2AC51#C2AC51

#C2AC51 is a light, moderate yellow. Relative luminance 0.416; OKLCH L 74.5% C 0.114 H 95.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#C2AC51
RGBrgb(194, 172, 81)
HSLhsl(48, 48%, 54%)
HSVhsv(48, 58%, 76%)
CMYKcmyk(0%, 11.3%, 58.2%, 23.9%)
CIE-LABlab(70.57, -3.25, 48.85)
CIE-LCHlch(70.57, 48.96, 93.81°)
OKLaboklab(74.52% -0.0117 0.1135)
OKLCHoklch(74.52% 0.114 95.9)
XYZxyz(38.4874, 41.5702, 13.7796)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AC51 #5167C2
analogous
#C27451 #C2AC51 #A0C251
triadic
#C2AC51 #51C2AC #AC51C2
tetradic
#C2AC51 #51C274 #5167C2 #C251A0
square
#C2AC51 #51C274 #5167C2 #C251A0
split-complementary
#C2AC51 #51A0C2 #7451C2
monochromatic
#716328 #9E8A37 #C2AC51 #D2C27E #E2D7AC

Accessibility & contrast

On white

2.25
#C2AC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#C2AC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AC51
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AC51#FFFFFF#000000##000000
##C2AC511.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA948
Deuteranopia (green-blind)
#C1B055
Tritanopia (blue-blind)
#D0A098
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c2ac51;
/* rgb */ color: rgb(194, 172, 81);
/* oklch */ color: oklch(74.5% 0.114 95.9);
Tailwind
colors: {
  custom: {
    50: '#d7c485',
    500: '#c2ac51',
    950: '#000000',
  },
}
SCSS
$custom: #c2ac51;
$custom-light: #d7c485;
$custom-dark: #000000;
JSON
{
  "hex": "#c2ac51",
  "rgb": {
    "r": 194,
    "g": 172,
    "b": 81
  },
  "hsl": {
    "h": 48.319,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.74525,
    "c": 0.1141,
    "h": 95.9
  },
  "luminance": 0.41568
}

Semantic roles & 50–950 ramp

primary
#C2AC51
secondary
#9FA9D0
accent
#6BD850
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #C2AC51

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

Preview Lab → · Contrast checker → · Palette generator →

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