#C0AF3E#C0AF3E

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

Color values

HEX#C0AF3E
RGBrgb(192, 175, 62)
HSLhsl(52, 51%, 50%)
HSVhsv(52, 68%, 75%)
CMYKcmyk(0%, 8.9%, 67.7%, 24.7%)
CIE-LABlab(71.02, -6.94, 57.72)
CIE-LCHlch(71.02, 58.14, 96.85°)
OKLaboklab(74.78% -0.0244 0.1297)
OKLCHoklch(74.78% 0.132 100.6)
XYZxyz(37.9393, 42.2159, 10.7066)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AF3E #3E4FC0
analogous
#C06E3E #C0AF3E #90C03E
triadic
#C0AF3E #3EC0AF #AF3EC0
tetradic
#C0AF3E #3EC06E #3E4FC0 #C03E90
square
#C0AF3E #3EC06E #3E4FC0 #C03E90
split-complementary
#C0AF3E #3E90C0 #6E3EC0
monochromatic
#635B20 #92852F #C0AF3E #CFC26C #DED59A

Accessibility & contrast

On white

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

On black

9.44
#C0AF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AF3E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AF3E#FFFFFF#000000##000000
##C0AF3E1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c0af3e;
/* rgb */ color: rgb(192, 175, 62);
/* oklch */ color: oklch(74.8% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#d6c679',
    500: '#c0af3e',
    950: '#000000',
  },
}
SCSS
$custom: #c0af3e;
$custom-light: #d6c679;
$custom-dark: #000000;
JSON
{
  "hex": "#c0af3e",
  "rgb": {
    "r": 192,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 52.154,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74781,
    "c": 0.13194,
    "h": 100.6
  },
  "luminance": 0.42214
}

Semantic roles & 50–950 ramp

primary
#C0AF3E
secondary
#8F97CA
accent
#60DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C0AF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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