#C2AF48#C2AF48

#C2AF48 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.124 H 98.9°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#C2AF48
RGBrgb(194, 175, 72)
HSLhsl(51, 50%, 52%)
HSVhsv(51, 63%, 76%)
CMYKcmyk(0%, 9.8%, 62.9%, 23.9%)
CIE-LABlab(71.28, -5.47, 53.78)
CIE-LCHlch(71.28, 54.05, 95.81°)
OKLaboklab(75.06% -0.0191 0.1228)
OKLCHoklch(75.06% 0.124 98.9)
XYZxyz(38.7494, 42.5989, 12.3110)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF48 #485BC2
analogous
#C27248 #C2AF48 #98C248
triadic
#C2AF48 #48C2AF #AF48C2
tetradic
#C2AF48 #48C272 #485BC2 #C24898
square
#C2AF48 #48C272 #485BC2 #C24898
split-complementary
#C2AF48 #4898C2 #7248C2
monochromatic
#6C6124 #9A8A33 #C2AF48 #D1C376 #E1D7A4

Accessibility & contrast

On white

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

On black

9.52
#C2AF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2AF48
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2AF48#FFFFFF#000000##000000
##C2AF481.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2af48;
/* rgb */ color: rgb(194, 175, 72);
/* oklch */ color: oklch(75.1% 0.124 98.9);
Tailwind
colors: {
  custom: {
    50: '#d7c67f',
    500: '#c2af48',
    950: '#000000',
  },
}
SCSS
$custom: #c2af48;
$custom-light: #d7c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af48",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 50.656,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75058,
    "c": 0.1243,
    "h": 98.9
  },
  "luminance": 0.42597
}

Semantic roles & 50–950 ramp

primary
#C2AF48
secondary
#98A1CE
accent
#64DA4E
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2AF48

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

Preview Lab → · Contrast checker → · Palette generator →

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