#C0A031#C0A031

#C0A031 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.5% C 0.130 H 92.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#C0A031
RGBrgb(192, 160, 49)
HSLhsl(47, 59%, 47%)
HSVhsv(47, 74%, 75%)
CMYKcmyk(0%, 16.7%, 74.5%, 24.7%)
CIE-LABlab(66.95, 0.36, 58.81)
CIE-LCHlch(66.95, 58.82, 89.65°)
OKLaboklab(71.53% -0.005 0.1296)
OKLCHoklch(71.53% 0.13 92.2)
XYZxyz(34.8654, 36.5719, 8.1278)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A031 #3151C0
analogous
#C05831 #C0A031 #99C031
triadic
#C0A031 #31C0A0 #A031C0
tetradic
#C0A031 #31C058 #3151C0 #C03199
square
#C0A031 #31C058 #3151C0 #C03199
split-complementary
#C0A031 #3199C0 #5831C0
monochromatic
#5E4F18 #8F7725 #C0A031 #D5B959 #E1CE8A

Accessibility & contrast

On white

2.53
#C0A031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#C0A031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A031
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A031#FFFFFF#000000##000000
##C0A0311.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1F
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#D0938A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c0a031;
/* rgb */ color: rgb(192, 160, 49);
/* oklch */ color: oklch(71.5% 0.130 92.2);
Tailwind
colors: {
  custom: {
    50: '#d7bb71',
    500: '#c0a031',
    950: '#000000',
  },
}
SCSS
$custom: #c0a031;
$custom-light: #d7bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a031",
  "rgb": {
    "r": 192,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 46.573,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71534,
    "c": 0.12971,
    "h": 92.2
  },
  "luminance": 0.3657
}

Semantic roles & 50–950 ramp

primary
#C0A031
secondary
#8292CB
accent
#68E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #C0A031

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

Preview Lab → · Contrast checker → · Palette generator →

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