#C2AF46#C2AF46

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

Color values

HEX#C2AF46
RGBrgb(194, 175, 70)
HSLhsl(51, 50%, 52%)
HSVhsv(51, 64%, 76%)
CMYKcmyk(0%, 9.8%, 63.9%, 23.9%)
CIE-LABlab(71.26, -5.60, 54.64)
CIE-LCHlch(71.26, 54.92, 95.85°)
OKLaboklab(75.04% -0.0197 0.1244)
OKLCHoklch(75.04% 0.126 99)
XYZxyz(38.6852, 42.5732, 11.9729)
Luminance0.4257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2AF46 #4659C2
analogous
#C27146 #C2AF46 #97C246
triadic
#C2AF46 #46C2AF #AF46C2
tetradic
#C2AF46 #46C271 #4659C2 #C24697
square
#C2AF46 #46C271 #4659C2 #C24697
split-complementary
#C2AF46 #4697C2 #7146C2
monochromatic
#6A6023 #998932 #C2AF46 #D1C374 #E0D7A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C2AF46#FFFFFF#000000##000000
##C2AF461.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)
#BFAB3A
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#D0A399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c2af46;
/* rgb */ color: rgb(194, 175, 70);
/* oklch */ color: oklch(75.0% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#d8c67e',
    500: '#c2af46',
    950: '#000000',
  },
}
SCSS
$custom: #c2af46;
$custom-light: #d8c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#c2af46",
  "rgb": {
    "r": 194,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 50.806,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75038,
    "c": 0.12592,
    "h": 99
  },
  "luminance": 0.42571
}

Semantic roles & 50–950 ramp

primary
#C2AF46
secondary
#979FCD
accent
#63DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C2AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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