#C0AC3E#C0AC3E

#C0AC3E is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.1% C 0.129 H 98.8°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#C0AC3E
RGBrgb(192, 172, 62)
HSLhsl(51, 51%, 50%)
HSVhsv(51, 68%, 75%)
CMYKcmyk(0%, 10.4%, 67.7%, 24.7%)
CIE-LABlab(70.22, -5.36, 56.90)
CIE-LCHlch(70.22, 57.15, 95.39°)
OKLaboklab(74.15% -0.0199 0.1279)
OKLCHoklch(74.15% 0.129 98.8)
XYZxyz(37.3619, 41.0611, 10.5141)
Luminance0.4106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AC3E #3E52C0
analogous
#C06B3E #C0AC3E #93C03E
triadic
#C0AC3E #3EC0AC #AC3EC0
tetradic
#C0AC3E #3EC06B #3E52C0 #C03E93
square
#C0AC3E #3EC06B #3E52C0 #C03E93
split-complementary
#C0AC3E #3E93C0 #6B3EC0
monochromatic
#635920 #92832F #C0AC3E #CFC06C #DED49A

Accessibility & contrast

On white

2.28
#C0AC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#C0AC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AC3E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AC3E#FFFFFF#000000##000000
##C0AC3E1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA82F
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#CFA095
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c0ac3e;
/* rgb */ color: rgb(192, 172, 62);
/* oklch */ color: oklch(74.1% 0.129 98.8);
Tailwind
colors: {
  custom: {
    50: '#d6c479',
    500: '#c0ac3e',
    950: '#000000',
  },
}
SCSS
$custom: #c0ac3e;
$custom-light: #d6c479;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ac3e",
  "rgb": {
    "r": 192,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 50.769,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74145,
    "c": 0.12947,
    "h": 98.8
  },
  "luminance": 0.41059
}

Semantic roles & 50–950 ramp

primary
#C0AC3E
secondary
#8F99CA
accent
#63DB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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