#C0AF46#C0AF46

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

Color values

HEX#C0AF46
RGBrgb(192, 175, 70)
HSLhsl(52, 49%, 51%)
HSVhsv(52, 64%, 75%)
CMYKcmyk(0%, 8.9%, 63.5%, 24.7%)
CIE-LABlab(71.08, -6.46, 54.39)
CIE-LCHlch(71.08, 54.77, 96.77°)
OKLaboklab(74.85% -0.0221 0.1239)
OKLCHoklch(74.85% 0.126 100.1)
XYZxyz(38.1753, 42.3102, 11.9490)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF46 #4657C0
analogous
#C07246 #C0AF46 #94C046
triadic
#C0AF46 #46C0AF #AF46C0
tetradic
#C0AF46 #46C072 #4657C0 #C04694
square
#C0AF46 #46C072 #4657C0 #C04694
split-complementary
#C0AF46 #4694C0 #7246C0
monochromatic
#685F23 #968833 #C0AF46 #D0C374 #DFD6A1

Accessibility & contrast

On white

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

On black

9.46
#C0AF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF46
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF46#FFFFFF#000000##000000
##C0AF461.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA3A
Deuteranopia (green-blind)
#C3B14C
Tritanopia (blue-blind)
#CEA399
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af46;
/* rgb */ color: rgb(192, 175, 70);
/* oklch */ color: oklch(74.9% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#d6c67e',
    500: '#c0af46',
    950: '#000000',
  },
}
SCSS
$custom: #c0af46;
$custom-light: #d6c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af46",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 51.639,
    "s": 49.194,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74853,
    "c": 0.12584,
    "h": 100.1
  },
  "luminance": 0.42309
}

Semantic roles & 50–950 ramp

primary
#C0AF46
secondary
#969ECC
accent
#62D94F
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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