#C0A230#C0A230

#C0A230 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.132 H 93.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#C0A230
RGBrgb(192, 162, 48)
HSLhsl(48, 60%, 47%)
HSVhsv(48, 75%, 75%)
CMYKcmyk(0%, 15.6%, 75%, 24.7%)
CIE-LABlab(67.47, -0.76, 59.69)
CIE-LCHlch(67.47, 59.69, 90.73°)
OKLaboklab(71.94% -0.0083 0.1313)
OKLCHoklch(71.94% 0.132 93.6)
XYZxyz(35.1940, 37.2626, 8.1344)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A230 #304EC0
analogous
#C05A30 #C0A230 #96C030
triadic
#C0A230 #30C0A2 #A230C0
tetradic
#C0A230 #30C05A #304EC0 #C03096
square
#C0A230 #30C05A #304EC0 #C03096
split-complementary
#C0A230 #3096C0 #5A30C0
monochromatic
#5E4F18 #8F7924 #C0A230 #D5BB58 #E1CF89

Accessibility & contrast

On white

2.48
#C0A230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#C0A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A230
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A230#FFFFFF#000000##000000
##C0A2301.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1C
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#D0958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c0a230;
/* rgb */ color: rgb(192, 162, 48);
/* oklch */ color: oklch(71.9% 0.132 93.6);
Tailwind
colors: {
  custom: {
    50: '#d7bd71',
    500: '#c0a230',
    950: '#000000',
  },
}
SCSS
$custom: #c0a230;
$custom-light: #d7bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a230",
  "rgb": {
    "r": 192,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 47.5,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71942,
    "c": 0.13152,
    "h": 93.6
  },
  "luminance": 0.37261
}

Semantic roles & 50–950 ramp

primary
#C0A230
secondary
#8090CB
accent
#66E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0A230

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

Preview Lab → · Contrast checker → · Palette generator →

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