#C0A231#C0A231

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

Color values

HEX#C0A231
RGBrgb(192, 162, 49)
HSLhsl(47, 59%, 47%)
HSVhsv(47, 74%, 75%)
CMYKcmyk(0%, 15.6%, 74.5%, 24.7%)
CIE-LABlab(67.48, -0.71, 59.32)
CIE-LCHlch(67.48, 59.32, 90.69°)
OKLaboklab(71.95% -0.0081 0.1307)
OKLCHoklch(71.95% 0.131 93.5)
XYZxyz(35.2149, 37.2709, 8.2443)
Luminance0.3727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A231 #314FC0
analogous
#C05B31 #C0A231 #96C031
triadic
#C0A231 #31C0A2 #A231C0
tetradic
#C0A231 #31C05B #314FC0 #C03196
square
#C0A231 #31C05B #314FC0 #C03196
split-complementary
#C0A231 #3196C0 #5B31C0
monochromatic
#5E5018 #8F7925 #C0A231 #D5BB59 #E1CF8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0A231#FFFFFF#000000##000000
##C0A2311.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)
#B49F1E
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#D0958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c0a231;
/* rgb */ color: rgb(192, 162, 49);
/* oklch */ color: oklch(71.9% 0.131 93.5);
Tailwind
colors: {
  custom: {
    50: '#d7bd71',
    500: '#c0a231',
    950: '#000000',
  },
}
SCSS
$custom: #c0a231;
$custom-light: #d7bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a231",
  "rgb": {
    "r": 192,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 47.413,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71949,
    "c": 0.13093,
    "h": 93.5
  },
  "luminance": 0.37269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0A231

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

Preview Lab → · Contrast checker → · Palette generator →

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