#C2AF35#C2AF35

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

Color values

HEX#C2AF35
RGBrgb(194, 175, 53)
HSLhsl(52, 57%, 48%)
HSVhsv(52, 73%, 76%)
CMYKcmyk(0%, 9.8%, 72.7%, 23.9%)
CIE-LABlab(71.14, -6.53, 61.42)
CIE-LCHlch(71.14, 61.77, 96.07°)
OKLaboklab(74.9% -0.0243 0.1358)
OKLCHoklch(74.9% 0.138 100.1)
XYZxyz(38.2225, 42.3881, 9.5359)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF35 #3548C2
analogous
#C26835 #C2AF35 #8EC235
triadic
#C2AF35 #35C2AF #AF35C2
tetradic
#C2AF35 #35C268 #3548C2 #C2358E
square
#C2AF35 #35C268 #3548C2 #C2358E
split-complementary
#C2AF35 #358EC2 #6835C2
monochromatic
#62581B #928428 #C2AF35 #D4C460 #E1D691

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AF35#FFFFFF#000000##000000
##C2AF351.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)
#C0AA20
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af35;
/* rgb */ color: rgb(194, 175, 53);
/* oklch */ color: oklch(74.9% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#d8c675',
    500: '#c2af35',
    950: '#000000',
  },
}
SCSS
$custom: #c2af35;
$custom-light: #d8c675;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af35",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 51.915,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74897,
    "c": 0.13799,
    "h": 100.1
  },
  "luminance": 0.42386
}

Semantic roles & 50–950 ramp

primary
#C2AF35
secondary
#8790CC
accent
#5CE047
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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