#C2AF57#C2AF57

#C2AF57 is a light, moderate yellow. Relative luminance 0.428; OKLCH L 75.2% C 0.111 H 97.4°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#C2AF57
RGBrgb(194, 175, 87)
HSLhsl(49, 47%, 55%)
HSVhsv(49, 55%, 76%)
CMYKcmyk(0%, 9.8%, 55.2%, 23.9%)
CIE-LABlab(71.43, -4.37, 46.97)
CIE-LCHlch(71.43, 47.17, 95.31°)
OKLaboklab(75.22% -0.0142 0.1101)
OKLCHoklch(75.22% 0.111 97.4)
XYZxyz(39.2998, 42.8190, 15.2098)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF57 #576AC2
analogous
#C27A57 #C2AF57 #9FC257
triadic
#C2AF57 #57C2AF #AF57C2
tetradic
#C2AF57 #57C27A #576AC2 #C2579F
square
#C2AF57 #57C27A #576AC2 #C2579F
split-complementary
#C2AF57 #579FC2 #7A57C2
monochromatic
#74672A #A18F3B #C2AF57 #D2C484 #E3DAB1

Accessibility & contrast

On white

2.20
#C2AF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#C2AF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF57
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF57#FFFFFF#000000##000000
##C2AF571.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB4F
Deuteranopia (green-blind)
#C3B25B
Tritanopia (blue-blind)
#D0A49B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2af57;
/* rgb */ color: rgb(194, 175, 87);
/* oklch */ color: oklch(75.2% 0.111 97.4);
Tailwind
colors: {
  custom: {
    50: '#d7c689',
    500: '#c2af57',
    950: '#000000',
  },
}
SCSS
$custom: #c2af57;
$custom-light: #d7c689;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af57",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 87
  },
  "hsl": {
    "h": 49.346,
    "s": 46.725,
    "l": 55.098
  },
  "oklch": {
    "l": 0.75225,
    "c": 0.11102,
    "h": 97.4
  },
  "luminance": 0.42817
}

Semantic roles & 50–950 ramp

primary
#C2AF57
secondary
#A4ACD1
accent
#69D651
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C2AF57

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

Preview Lab → · Contrast checker → · Palette generator →

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