#C2AF45#C2AF45

#C2AF45 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.0% C 0.127 H 99.1°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#C2AF45
RGBrgb(194, 175, 69)
HSLhsl(51, 51%, 52%)
HSVhsv(51, 64%, 76%)
CMYKcmyk(0%, 9.8%, 64.4%, 23.9%)
CIE-LABlab(71.26, -5.66, 55.07)
CIE-LCHlch(71.26, 55.36, 95.87°)
OKLaboklab(75.03% -0.02 0.1251)
OKLCHoklch(75.03% 0.127 99.1)
XYZxyz(38.6539, 42.5607, 11.8080)
Luminance0.4256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF45 #4558C2
analogous
#C27145 #C2AF45 #97C245
triadic
#C2AF45 #45C2AF #AF45C2
tetradic
#C2AF45 #45C271 #4558C2 #C24597
square
#C2AF45 #45C271 #4558C2 #C24597
split-complementary
#C2AF45 #4597C2 #7145C2
monochromatic
#6A5F23 #988832 #C2AF45 #D1C373 #E0D7A1

Accessibility & contrast

On white

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

On black

9.51
#C2AF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF45
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF45#FFFFFF#000000##000000
##C2AF451.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB38
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#D0A399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af45;
/* rgb */ color: rgb(194, 175, 69);
/* oklch */ color: oklch(75.0% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#d8c67e',
    500: '#c2af45',
    950: '#000000',
  },
}
SCSS
$custom: #c2af45;
$custom-light: #d8c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af45",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 50.88,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75029,
    "c": 0.1267,
    "h": 99.1
  },
  "luminance": 0.42559
}

Semantic roles & 50–950 ramp

primary
#C2AF45
secondary
#969ECD
accent
#63DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2AF45

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

Preview Lab → · Contrast checker → · Palette generator →

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