#C0A545#C0A545

#C0A545 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.119 H 93.5°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#C0A545
RGBrgb(192, 165, 69)
HSLhsl(47, 49%, 51%)
HSVhsv(47, 64%, 75%)
CMYKcmyk(0%, 14.1%, 64.1%, 24.7%)
CIE-LABlab(68.42, -1.23, 51.96)
CIE-LCHlch(68.42, 51.98, 91.35°)
OKLaboklab(72.74% -0.0072 0.1186)
OKLCHoklch(72.74% 0.119 93.5)
XYZxyz(36.2692, 38.5483, 11.1592)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0A545 #4560C0
analogous
#C06745 #C0A545 #9DC045
triadic
#C0A545 #45C0A5 #A545C0
tetradic
#C0A545 #45C067 #4560C0 #C0459D
square
#C0A545 #45C067 #4560C0 #C0459D
split-complementary
#C0A545 #459DC0 #6745C0
monochromatic
#685923 #958033 #C0A545 #CFBB73 #DFD1A0

Accessibility & contrast

On white

2.41
#C0A545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#C0A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C0A545
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0A545#FFFFFF#000000##000000
##C0A5451.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23A
Deuteranopia (green-blind)
#BCAA4A
Tritanopia (blue-blind)
#CF9990
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c0a545;
/* rgb */ color: rgb(192, 165, 69);
/* oklch */ color: oklch(72.7% 0.119 93.5);
Tailwind
colors: {
  custom: {
    50: '#d6bf7d',
    500: '#c0a545',
    950: '#000000',
  },
}
SCSS
$custom: #c0a545;
$custom-light: #d6bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c0a545",
  "rgb": {
    "r": 192,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 46.829,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72743,
    "c": 0.1188,
    "h": 93.5
  },
  "luminance": 0.38546
}

Semantic roles & 50–950 ramp

primary
#C0A545
secondary
#95A1CC
accent
#6DD94F
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C0A545

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

Preview Lab → · Contrast checker → · Palette generator →

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