#C2AF36#C2AF36

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

Color values

HEX#C2AF36
RGBrgb(194, 175, 54)
HSLhsl(52, 56%, 49%)
HSVhsv(52, 72%, 76%)
CMYKcmyk(0%, 9.8%, 72.2%, 23.9%)
CIE-LABlab(71.14, -6.49, 61.05)
CIE-LCHlch(71.14, 61.40, 96.06°)
OKLaboklab(74.9% -0.0241 0.1352)
OKLCHoklch(74.9% 0.137 100.1)
XYZxyz(38.2457, 42.3974, 9.6583)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF36 #3649C2
analogous
#C26936 #C2AF36 #8FC236
triadic
#C2AF36 #36C2AF #AF36C2
tetradic
#C2AF36 #36C269 #3649C2 #C2368F
square
#C2AF36 #36C269 #3649C2 #C2368F
split-complementary
#C2AF36 #368FC2 #6936C2
monochromatic
#62591B #928429 #C2AF36 #D3C462 #E1D692

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AF36#FFFFFF#000000##000000
##C2AF361.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2af36;
/* rgb */ color: rgb(194, 175, 54);
/* oklch */ color: oklch(74.9% 0.137 100.1);
Tailwind
colors: {
  custom: {
    50: '#d8c675',
    500: '#c2af36',
    950: '#000000',
  },
}
SCSS
$custom: #c2af36;
$custom-light: #d8c675;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af36",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 51.857,
    "s": 56.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74904,
    "c": 0.13736,
    "h": 100.1
  },
  "luminance": 0.42396
}

Semantic roles & 50–950 ramp

primary
#C2AF36
secondary
#8891CC
accent
#5DE048
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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