#C0AC40#C0AC40

#C0AC40 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.128 H 98.7°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#C0AC40
RGBrgb(192, 172, 64)
HSLhsl(51, 50%, 50%)
HSVhsv(51, 67%, 75%)
CMYKcmyk(0%, 10.4%, 66.7%, 24.7%)
CIE-LABlab(70.23, -5.25, 56.08)
CIE-LCHlch(70.23, 56.32, 95.35°)
OKLaboklab(74.16% -0.0193 0.1265)
OKLCHoklch(74.16% 0.128 98.7)
XYZxyz(37.4178, 41.0834, 10.8085)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AC40 #4054C0
analogous
#C06C40 #C0AC40 #94C040
triadic
#C0AC40 #40C0AC #AC40C0
tetradic
#C0AC40 #40C06C #4054C0 #C04094
square
#C0AC40 #40C06C #4054C0 #C04094
split-complementary
#C0AC40 #4094C0 #6C40C0
monochromatic
#645A21 #928330 #C0AC40 #CFC06E #DED49C

Accessibility & contrast

On white

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

On black

9.22
#C0AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AC40
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AC40#FFFFFF#000000##000000
##C0AC401.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA832
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#CFA096
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c0ac40;
/* rgb */ color: rgb(192, 172, 64);
/* oklch */ color: oklch(74.2% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#d6c47a',
    500: '#c0ac40',
    950: '#000000',
  },
}
SCSS
$custom: #c0ac40;
$custom-light: #d6c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ac40",
  "rgb": {
    "r": 192,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 50.625,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74163,
    "c": 0.12799,
    "h": 98.7
  },
  "luminance": 0.41082
}

Semantic roles & 50–950 ramp

primary
#C0AC40
secondary
#919ACB
accent
#64DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C0AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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