#C0AF37#C0AF37

#C0AF37 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.137 H 101.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#C0AF37
RGBrgb(192, 175, 55)
HSLhsl(53, 55%, 48%)
HSVhsv(53, 71%, 75%)
CMYKcmyk(0%, 8.9%, 71.4%, 24.7%)
CIE-LABlab(70.97, -7.31, 60.44)
CIE-LCHlch(70.97, 60.88, 96.89°)
OKLaboklab(74.73% -0.0262 0.1342)
OKLCHoklch(74.73% 0.137 101)
XYZxyz(37.7595, 42.1439, 9.7593)
Luminance0.4214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF37 #3748C0
analogous
#C06A37 #C0AF37 #8CC037
triadic
#C0AF37 #37C0AF #AF37C0
tetradic
#C0AF37 #37C06A #3748C0 #C0378C
square
#C0AF37 #37C06A #3748C0 #C0378C
split-complementary
#C0AF37 #378CC0 #6A37C0
monochromatic
#61581C #908429 #C0AF37 #D2C462 #E0D692

Accessibility & contrast

On white

2.23
#C0AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#C0AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF37
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF37#FFFFFF#000000##000000
##C0AF371.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA24
Deuteranopia (green-blind)
#C4B13F
Tritanopia (blue-blind)
#CFA297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af37;
/* rgb */ color: rgb(192, 175, 55);
/* oklch */ color: oklch(74.7% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#d7c676',
    500: '#c0af37',
    950: '#000000',
  },
}
SCSS
$custom: #c0af37;
$custom-light: #d7c676;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af37",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 52.555,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74726,
    "c": 0.13673,
    "h": 101
  },
  "luminance": 0.42142
}

Semantic roles & 50–950 ramp

primary
#C0AF37
secondary
#8890CB
accent
#5CDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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