#C1A545#C1A545

#C1A545 is a light, moderate yellow. Relative luminance 0.387; OKLCH L 72.8% C 0.119 H 92.9°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#C1A545
RGBrgb(193, 165, 69)
HSLhsl(46, 50%, 51%)
HSVhsv(46, 64%, 76%)
CMYKcmyk(0%, 14.5%, 64.2%, 24.3%)
CIE-LABlab(68.52, -0.79, 52.09)
CIE-LCHlch(68.52, 52.10, 90.87°)
OKLaboklab(72.84% -0.006 0.1188)
OKLCHoklch(72.84% 0.119 92.9)
XYZxyz(36.5234, 38.6793, 11.1712)
Luminance0.3868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A545 #4561C1
analogous
#C16745 #C1A545 #9FC145
triadic
#C1A545 #45C1A5 #A545C1
tetradic
#C1A545 #45C167 #4561C1 #C1459F
square
#C1A545 #45C167 #4561C1 #C1459F
split-complementary
#C1A545 #459FC1 #6745C1
monochromatic
#695923 #978032 #C1A545 #D0BB73 #E0D1A1

Accessibility & contrast

On white

2.40
#C1A545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#C1A545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A545
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A545#FFFFFF#000000##000000
##C1A5451.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A23A
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#D09990
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c1a545;
/* rgb */ color: rgb(193, 165, 69);
/* oklch */ color: oklch(72.8% 0.119 92.9);
Tailwind
colors: {
  custom: {
    50: '#d7bf7d',
    500: '#c1a545',
    950: '#000000',
  },
}
SCSS
$custom: #c1a545;
$custom-light: #d7bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a545",
  "rgb": {
    "r": 193,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 46.452,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72841,
    "c": 0.11898,
    "h": 92.9
  },
  "luminance": 0.38677
}

Semantic roles & 50–950 ramp

primary
#C1A545
secondary
#96A2CC
accent
#6EDA4E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#15120A
muted
#83817C

Preview Lab

Preview with #C1A545

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

Preview Lab → · Contrast checker → · Palette generator →

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