#C2AF41#C2AF41

#C2AF41 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.130 H 99.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#C2AF41
RGBrgb(194, 175, 65)
HSLhsl(51, 51%, 51%)
HSVhsv(51, 66%, 76%)
CMYKcmyk(0%, 9.8%, 66.5%, 23.9%)
CIE-LABlab(71.22, -5.90, 56.74)
CIE-LCHlch(71.22, 57.05, 95.94°)
OKLaboklab(74.99% -0.0212 0.128)
OKLCHoklch(74.99% 0.13 99.4)
XYZxyz(38.5339, 42.5127, 11.1760)
Luminance0.4251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF41 #4154C2
analogous
#C26E41 #C2AF41 #94C241
triadic
#C2AF41 #41C2AF #AF41C2
tetradic
#C2AF41 #41C26E #4154C2 #C24194
square
#C2AF41 #41C26E #4154C2 #C24194
split-complementary
#C2AF41 #4194C2 #6E41C2
monochromatic
#675D21 #968730 #C2AF41 #D1C36F #E0D69E

Accessibility & contrast

On white

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

On black

9.50
#C2AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF41
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF41#FFFFFF#000000##000000
##C2AF411.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#D1A398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af41;
/* rgb */ color: rgb(194, 175, 65);
/* oklch */ color: oklch(75.0% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#d8c67b',
    500: '#c2af41',
    950: '#000000',
  },
}
SCSS
$custom: #c2af41;
$custom-light: #d8c67b;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af41",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 51.163,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74992,
    "c": 0.12977,
    "h": 99.4
  },
  "luminance": 0.42511
}

Semantic roles & 50–950 ramp

primary
#C2AF41
secondary
#939BCC
accent
#62DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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