#C0AF39#C0AF39

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

Color values

HEX#C0AF39
RGBrgb(192, 175, 57)
HSLhsl(52, 54%, 49%)
HSVhsv(52, 70%, 75%)
CMYKcmyk(0%, 8.9%, 70.3%, 24.7%)
CIE-LABlab(70.98, -7.21, 59.69)
CIE-LCHlch(70.98, 60.12, 96.88°)
OKLaboklab(74.74% -0.0257 0.133)
OKLCHoklch(74.74% 0.135 100.9)
XYZxyz(37.8084, 42.1635, 10.0170)
Luminance0.4216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF39 #394AC0
analogous
#C06B39 #C0AF39 #8EC039
triadic
#C0AF39 #39C0AF #AF39C0
tetradic
#C0AF39 #39C06B #394AC0 #C0398E
square
#C0AF39 #39C06B #394AC0 #C0398E
split-complementary
#C0AF39 #398EC0 #6B39C0
monochromatic
#62591D #91842B #C0AF39 #D1C465 #DFD694

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0AF39#FFFFFF#000000##000000
##C0AF391.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)
#BFAA27
Deuteranopia (green-blind)
#C4B140
Tritanopia (blue-blind)
#CFA297
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #c0af39;
/* rgb */ color: rgb(192, 175, 57);
/* oklch */ color: oklch(74.7% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#d7c677',
    500: '#c0af39',
    950: '#000000',
  },
}
SCSS
$custom: #c0af39;
$custom-light: #d7c677;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af39",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 57
  },
  "hsl": {
    "h": 52.444,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74741,
    "c": 0.13542,
    "h": 100.9
  },
  "luminance": 0.42162
}

Semantic roles & 50–950 ramp

primary
#C0AF39
secondary
#8A92CB
accent
#5DDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C0AF39

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

Preview Lab → · Contrast checker → · Palette generator →

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