#C0A42E#C0A42E

#C0A42E is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.134 H 95.0°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C0A42E
RGBrgb(192, 164, 46)
HSLhsl(48, 61%, 47%)
HSVhsv(48, 76%, 75%)
CMYKcmyk(0%, 14.6%, 76%, 24.7%)
CIE-LABlab(67.99, -1.91, 60.90)
CIE-LCHlch(67.99, 60.93, 91.80°)
OKLaboklab(72.35% -0.0118 0.1335)
OKLCHoklch(72.35% 0.134 95)
XYZxyz(35.5087, 37.9566, 8.0403)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A42E #2E4AC0
analogous
#C05B2E #C0A42E #93C02E
triadic
#C0A42E #2EC0A4 #A42EC0
tetradic
#C0A42E #2EC05B #2E4AC0 #C02E93
square
#C0A42E #2EC05B #2E4AC0 #C02E93
split-complementary
#C0A42E #2E93C0 #5B2EC0
monochromatic
#5D5016 #8F7A22 #C0A42E #D6BD55 #E2D086

Accessibility & contrast

On white

2.44
#C0A42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C0A42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A42E
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A42E#FFFFFF#000000##000000
##C0A42E1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A117
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#D0978D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c0a42e;
/* rgb */ color: rgb(192, 164, 46);
/* oklch */ color: oklch(72.3% 0.134 95.0);
Tailwind
colors: {
  custom: {
    50: '#d7be70',
    500: '#c0a42e',
    950: '#000000',
  },
}
SCSS
$custom: #c0a42e;
$custom-light: #d7be70;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a42e",
  "rgb": {
    "r": 192,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 48.493,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.13397,
    "h": 95
  },
  "luminance": 0.37955
}

Semantic roles & 50–950 ramp

primary
#C0A42E
secondary
#7E8DCC
accent
#62E443
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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