#C2AF3E#C2AF3E

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

Color values

HEX#C2AF3E
RGBrgb(194, 175, 62)
HSLhsl(51, 52%, 50%)
HSVhsv(51, 68%, 76%)
CMYKcmyk(0%, 9.8%, 68%, 23.9%)
CIE-LABlab(71.20, -6.07, 57.96)
CIE-LCHlch(71.20, 58.28, 95.98°)
OKLaboklab(74.97% -0.022 0.1301)
OKLCHoklch(74.97% 0.132 99.6)
XYZxyz(38.4493, 42.4788, 10.7305)
Luminance0.4248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF3E #3E51C2
analogous
#C26D3E #C2AF3E #93C23E
triadic
#C2AF3E #3EC2AF #AF3EC2
tetradic
#C2AF3E #3EC26D #3E51C2 #C23E93
square
#C2AF3E #3EC26D #3E51C2 #C23E93
split-complementary
#C2AF3E #3E93C2 #6D3EC2
monochromatic
#665C20 #94852F #C2AF3E #D1C26D #DFD69B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AF3E#FFFFFF#000000##000000
##C2AF3E1.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)
#BFAA2F
Deuteranopia (green-blind)
#C5B145
Tritanopia (blue-blind)
#D1A398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af3e;
/* rgb */ color: rgb(194, 175, 62);
/* oklch */ color: oklch(75.0% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#d8c679',
    500: '#c2af3e',
    950: '#000000',
  },
}
SCSS
$custom: #c2af3e;
$custom-light: #d8c679;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af3e",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 51.364,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74966,
    "c": 0.13197,
    "h": 99.6
  },
  "luminance": 0.42477
}

Semantic roles & 50–950 ramp

primary
#C2AF3E
secondary
#9099CB
accent
#61DB4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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