#C0A22B#C0A22B

#C0A22B is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.134 H 94.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#C0A22B
RGBrgb(192, 162, 43)
HSLhsl(48, 63%, 46%)
HSVhsv(48, 78%, 75%)
CMYKcmyk(0%, 15.6%, 77.6%, 24.7%)
CIE-LABlab(67.44, -0.96, 61.45)
CIE-LCHlch(67.44, 61.45, 90.90°)
OKLaboklab(71.91% -0.0094 0.134)
OKLCHoklch(71.91% 0.134 94)
XYZxyz(35.0966, 37.2236, 7.6213)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A22B #2B49C0
analogous
#C0572B #C0A22B #93C02B
triadic
#C0A22B #2BC0A2 #A22BC0
tetradic
#C0A22B #2BC057 #2B49C0 #C02B93
square
#C0A22B #2BC057 #2B49C0 #C02B93
split-complementary
#C0A22B #2B93C0 #572BC0
monochromatic
#5C4E15 #8E7820 #C0A22B #D8BD50 #E3D082

Accessibility & contrast

On white

2.49
#C0A22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#C0A22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A22B
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A22B#FFFFFF#000000##000000
##C0A22B1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F12
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#D0958B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c0a22b;
/* rgb */ color: rgb(192, 162, 43);
/* oklch */ color: oklch(71.9% 0.134 94.0);
Tailwind
colors: {
  custom: {
    50: '#d7bd6e',
    500: '#c0a22b',
    950: '#000000',
  },
}
SCSS
$custom: #c0a22b;
$custom-light: #d7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a22b",
  "rgb": {
    "r": 192,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 47.919,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7191,
    "c": 0.13434,
    "h": 94
  },
  "luminance": 0.37222
}

Semantic roles & 50–950 ramp

primary
#C0A22B
secondary
#7B8BCC
accent
#63E641
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #C0A22B

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

Preview Lab → · Contrast checker → · Palette generator →

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