#C2AF33#C2AF33

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

Color values

HEX#C2AF33
RGBrgb(194, 175, 51)
HSLhsl(52, 58%, 48%)
HSVhsv(52, 74%, 76%)
CMYKcmyk(0%, 9.8%, 73.7%, 23.9%)
CIE-LABlab(71.13, -6.63, 62.14)
CIE-LCHlch(71.13, 62.49, 96.09°)
OKLaboklab(74.88% -0.0248 0.137)
OKLCHoklch(74.88% 0.139 100.2)
XYZxyz(38.1775, 42.3701, 9.2986)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF33 #3346C2
analogous
#C26733 #C2AF33 #8DC233
triadic
#C2AF33 #33C2AF #AF33C2
tetradic
#C2AF33 #33C267 #3346C2 #C2338D
square
#C2AF33 #33C267 #3346C2 #C2338D
split-complementary
#C2AF33 #338DC2 #6733C2
monochromatic
#61581A #928326 #C2AF33 #D5C55E #E1D68E

Accessibility & contrast

On white

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

On black

9.47
#C2AF33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF33
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF33#FFFFFF#000000##000000
##C2AF331.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2af33;
/* rgb */ color: rgb(194, 175, 51);
/* oklch */ color: oklch(74.9% 0.139 100.2);
Tailwind
colors: {
  custom: {
    50: '#d8c673',
    500: '#c2af33',
    950: '#000000',
  },
}
SCSS
$custom: #c2af33;
$custom-light: #d8c673;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af33",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 52.028,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74884,
    "c": 0.1392,
    "h": 100.2
  },
  "luminance": 0.42368
}

Semantic roles & 50–950 ramp

primary
#C2AF33
secondary
#858ECC
accent
#5BE246
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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