#C2AF37#C2AF37

#C2AF37 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.137 H 100.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#C2AF37
RGBrgb(194, 175, 55)
HSLhsl(52, 56%, 49%)
HSVhsv(52, 72%, 76%)
CMYKcmyk(0%, 9.8%, 71.6%, 23.9%)
CIE-LABlab(71.15, -6.44, 60.68)
CIE-LCHlch(71.15, 61.02, 96.06°)
OKLaboklab(74.91% -0.0238 0.1346)
OKLCHoklch(74.91% 0.137 100)
XYZxyz(38.2695, 42.4069, 9.7832)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF37 #374AC2
analogous
#C26A37 #C2AF37 #90C237
triadic
#C2AF37 #37C2AF #AF37C2
tetradic
#C2AF37 #37C26A #374AC2 #C23790
square
#C2AF37 #37C26A #374AC2 #C23790
split-complementary
#C2AF37 #3790C2 #6A37C2
monochromatic
#63591C #928429 #C2AF37 #D3C463 #E0D693

Accessibility & contrast

On white

2.21
#C2AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#C2AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF37
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF37#FFFFFF#000000##000000
##C2AF371.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af37;
/* rgb */ color: rgb(194, 175, 55);
/* oklch */ color: oklch(74.9% 0.137 100.0);
Tailwind
colors: {
  custom: {
    50: '#d8c676',
    500: '#c2af37',
    950: '#000000',
  },
}
SCSS
$custom: #c2af37;
$custom-light: #d8c676;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af37",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 51.799,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74912,
    "c": 0.13672,
    "h": 100
  },
  "luminance": 0.42405
}

Semantic roles & 50–950 ramp

primary
#C2AF37
secondary
#8992CB
accent
#5DDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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