#C0AC38#C0AC38

#C0AC38 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.1% C 0.134 H 99.2°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#C0AC38
RGBrgb(192, 172, 56)
HSLhsl(51, 55%, 49%)
HSVhsv(51, 71%, 75%)
CMYKcmyk(0%, 10.4%, 70.8%, 24.7%)
CIE-LABlab(70.18, -5.68, 59.27)
CIE-LCHlch(70.18, 59.54, 95.48°)
OKLaboklab(74.1% -0.0215 0.1319)
OKLCHoklch(74.1% 0.134 99.2)
XYZxyz(37.2063, 40.9988, 9.6944)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0AC38 #384CC0
analogous
#C06838 #C0AC38 #90C038
triadic
#C0AC38 #38C0AC #AC38C0
tetradic
#C0AC38 #38C068 #384CC0 #C03890
square
#C0AC38 #38C068 #384CC0 #C03890
split-complementary
#C0AC38 #3890C0 #6838C0
monochromatic
#61571C #91822A #C0AC38 #D2C164 #DFD493

Accessibility & contrast

On white

2.28
#C0AC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#C0AC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0AC38
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0AC38#FFFFFF#000000##000000
##C0AC381.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA726
Deuteranopia (green-blind)
#C2AF3F
Tritanopia (blue-blind)
#CF9F95
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #c0ac38;
/* rgb */ color: rgb(192, 172, 56);
/* oklch */ color: oklch(74.1% 0.134 99.2);
Tailwind
colors: {
  custom: {
    50: '#d7c476',
    500: '#c0ac38',
    950: '#000000',
  },
}
SCSS
$custom: #c0ac38;
$custom-light: #d7c476;
$custom-dark: #000000;
JSON
{
  "hex": "#c0ac38",
  "rgb": {
    "r": 192,
    "g": 172,
    "b": 56
  },
  "hsl": {
    "h": 51.176,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74097,
    "c": 0.13364,
    "h": 99.2
  },
  "luminance": 0.40997
}

Semantic roles & 50–950 ramp

primary
#C0AC38
secondary
#8993CB
accent
#5FDE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151209
muted
#83817B

Preview Lab

Preview with #C0AC38

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

Preview Lab → · Contrast checker → · Palette generator →

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