#C0AF3F#C0AF3F

#C0AF3F is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.131 H 100.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#C0AF3F
RGBrgb(192, 175, 63)
HSLhsl(52, 51%, 50%)
HSVhsv(52, 67%, 75%)
CMYKcmyk(0%, 8.9%, 67.2%, 24.7%)
CIE-LABlab(71.03, -6.88, 57.32)
CIE-LCHlch(71.03, 57.73, 96.85°)
OKLaboklab(74.79% -0.0241 0.129)
OKLCHoklch(74.79% 0.131 100.6)
XYZxyz(37.9670, 42.2270, 10.8524)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF3F #3F50C0
analogous
#C06F3F #C0AF3F #90C03F
triadic
#C0AF3F #3FC0AF #AF3FC0
tetradic
#C0AF3F #3FC06F #3F50C0 #C03F90
square
#C0AF3F #3FC06F #3F50C0 #C03F90
split-complementary
#C0AF3F #3F90C0 #6F3FC0
monochromatic
#645B21 #928530 #C0AF3F #CFC26D #DED59B

Accessibility & contrast

On white

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

On black

9.45
#C0AF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF3F
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF3F#FFFFFF#000000##000000
##C0AF3F1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#C4B145
Tritanopia (blue-blind)
#CEA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af3f;
/* rgb */ color: rgb(192, 175, 63);
/* oklch */ color: oklch(74.8% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#d6c67a',
    500: '#c0af3f',
    950: '#000000',
  },
}
SCSS
$custom: #c0af3f;
$custom-light: #d6c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af3f",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 52.093,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.74789,
    "c": 0.13121,
    "h": 100.6
  },
  "luminance": 0.42225
}

Semantic roles & 50–950 ramp

primary
#C0AF3F
secondary
#9198CA
accent
#60DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C0AF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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