#C2AF2C#C2AF2C

#C2AF2C is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.8% C 0.143 H 100.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#C2AF2C
RGBrgb(194, 175, 44)
HSLhsl(52, 63%, 47%)
HSVhsv(52, 77%, 76%)
CMYKcmyk(0%, 9.8%, 77.3%, 23.9%)
CIE-LABlab(71.09, -6.92, 64.52)
CIE-LCHlch(71.09, 64.89, 96.12°)
OKLaboklab(74.84% -0.0263 0.1407)
OKLCHoklch(74.84% 0.143 100.6)
XYZxyz(38.0346, 42.3129, 8.5462)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF2C #2C3FC2
analogous
#C2642C #C2AF2C #8AC22C
triadic
#C2AF2C #2CC2AF #AF2CC2
tetradic
#C2AF2C #2CC264 #2C3FC2 #C22C8A
square
#C2AF2C #2CC264 #2C3FC2 #C22C8A
split-complementary
#C2AF2C #2C8AC2 #642CC2
monochromatic
#5E5515 #908221 #C2AF2C #D8C753 #E3D785

Accessibility & contrast

On white

2.22
#C2AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#C2AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF2C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF2C#FFFFFF#000000##000000
##C2AF2C1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA0C
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#D1A296
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af2c;
/* rgb */ color: rgb(194, 175, 44);
/* oklch */ color: oklch(74.8% 0.143 100.6);
Tailwind
colors: {
  custom: {
    50: '#d9c670',
    500: '#c2af2c',
    950: '#000000',
  },
}
SCSS
$custom: #c2af2c;
$custom-light: #d9c670;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af2c",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 52.4,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7484,
    "c": 0.14312,
    "h": 100.6
  },
  "luminance": 0.42311
}

Semantic roles & 50–950 ramp

primary
#C2AF2C
secondary
#7D87CD
accent
#57E642
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C2AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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