#C0A940#C0A940

#C0A940 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.5% C 0.126 H 96.8°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#C0A940
RGBrgb(192, 169, 64)
HSLhsl(49, 50%, 50%)
HSVhsv(49, 67%, 75%)
CMYKcmyk(0%, 12%, 66.7%, 24.7%)
CIE-LABlab(69.44, -3.66, 55.24)
CIE-LCHlch(69.44, 55.36, 93.79°)
OKLaboklab(73.53% -0.0148 0.1248)
OKLCHoklch(73.53% 0.126 96.8)
XYZxyz(36.8533, 39.9544, 10.6203)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A940 #4057C0
analogous
#C06940 #C0A940 #97C040
triadic
#C0A940 #40C0A9 #A940C0
tetradic
#C0A940 #40C069 #4057C0 #C04097
square
#C0A940 #40C069 #4057C0 #C04097
split-complementary
#C0A940 #4097C0 #6940C0
monochromatic
#645821 #928130 #C0A940 #CFBE6E #DED29C

Accessibility & contrast

On white

2.34
#C0A940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#C0A940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A940
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A940#FFFFFF#000000##000000
##C0A9401.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#BFAD46
Tritanopia (blue-blind)
#CF9D93
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c0a940;
/* rgb */ color: rgb(192, 169, 64);
/* oklch */ color: oklch(73.5% 0.126 96.8);
Tailwind
colors: {
  custom: {
    50: '#d6c27a',
    500: '#c0a940',
    950: '#000000',
  },
}
SCSS
$custom: #c0a940;
$custom-light: #d6c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a940",
  "rgb": {
    "r": 192,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 49.219,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.73531,
    "c": 0.12563,
    "h": 96.8
  },
  "luminance": 0.39953
}

Semantic roles & 50–950 ramp

primary
#C0A940
secondary
#919CCB
accent
#67DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #C0A940

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

Preview Lab → · Contrast checker → · Palette generator →

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