#C0AE31#C0AE31

#C0AE31 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.5% C 0.140 H 100.8°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#C0AE31
RGBrgb(192, 174, 49)
HSLhsl(52, 59%, 47%)
HSVhsv(52, 74%, 75%)
CMYKcmyk(0%, 9.4%, 74.5%, 24.7%)
CIE-LABlab(70.67, -7.06, 62.36)
CIE-LCHlch(70.67, 62.76, 96.46°)
OKLaboklab(74.47% -0.0261 0.1371)
OKLCHoklch(74.47% 0.14 100.8)
XYZxyz(37.4304, 41.7021, 8.9828)
Luminance0.4170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AE31 #3143C0
analogous
#C06731 #C0AE31 #8AC031
triadic
#C0AE31 #31C0AE #AE31C0
tetradic
#C0AE31 #31C067 #3143C0 #C0318A
square
#C0AE31 #31C067 #3143C0 #C0318A
split-complementary
#C0AE31 #318AC0 #6731C0
monochromatic
#5E5618 #8F8225 #C0AE31 #D5C559 #E1D68A

Accessibility & contrast

On white

2.25
#C0AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#C0AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AE31
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AE31#FFFFFF#000000##000000
##C0AE311.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#CFA196
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #c0ae31;
/* rgb */ color: rgb(192, 174, 49);
/* oklch */ color: oklch(74.5% 0.140 100.8);
Tailwind
colors: {
  custom: {
    50: '#d7c572',
    500: '#c0ae31',
    950: '#000000',
  },
}
SCSS
$custom: #c0ae31;
$custom-light: #d7c572;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ae31",
  "rgb": {
    "r": 192,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 52.448,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.74471,
    "c": 0.1396,
    "h": 100.8
  },
  "luminance": 0.417
}

Semantic roles & 50–950 ramp

primary
#C0AE31
secondary
#828BCB
accent
#59E345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C0AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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