#C0AA38#C0AA38

#C0AA38 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.7% C 0.132 H 98.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#C0AA38
RGBrgb(192, 170, 56)
HSLhsl(50, 55%, 49%)
HSVhsv(50, 71%, 75%)
CMYKcmyk(0%, 11.5%, 70.8%, 24.7%)
CIE-LABlab(69.64, -4.63, 58.74)
CIE-LCHlch(69.64, 58.92, 94.51°)
OKLaboklab(73.68% -0.0185 0.1308)
OKLCHoklch(73.68% 0.132 98)
XYZxyz(36.8285, 40.2433, 9.5685)
Luminance0.4024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AA38 #384EC0
analogous
#C06638 #C0AA38 #92C038
triadic
#C0AA38 #38C0AA #AA38C0
tetradic
#C0AA38 #38C066 #384EC0 #C03892
square
#C0AA38 #38C066 #384EC0 #C03892
split-complementary
#C0AA38 #3892C0 #6638C0
monochromatic
#61561C #91802A #C0AA38 #D2C064 #DFD393

Accessibility & contrast

On white

2.32
#C0AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#C0AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AA38
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AA38#FFFFFF#000000##000000
##C0AA381.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA627
Deuteranopia (green-blind)
#C1AD3F
Tritanopia (blue-blind)
#CF9D93
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #c0aa38;
/* rgb */ color: rgb(192, 170, 56);
/* oklch */ color: oklch(73.7% 0.132 98.0);
Tailwind
colors: {
  custom: {
    50: '#d7c276',
    500: '#c0aa38',
    950: '#000000',
  },
}
SCSS
$custom: #c0aa38;
$custom-light: #d7c276;
$custom-dark: #000000;
JSON
{
  "hex": "#c0aa38",
  "rgb": {
    "r": 192,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 50.294,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73675,
    "c": 0.13208,
    "h": 98
  },
  "luminance": 0.40241
}

Semantic roles & 50–950 ramp

primary
#C0AA38
secondary
#8994CB
accent
#62DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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