#C1A52F#C1A52F

#C1A52F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.7% C 0.134 H 95.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#C1A52F
RGBrgb(193, 165, 47)
HSLhsl(48, 61%, 47%)
HSVhsv(48, 76%, 76%)
CMYKcmyk(0%, 14.5%, 75.6%, 24.3%)
CIE-LABlab(68.35, -1.96, 60.92)
CIE-LCHlch(68.35, 60.95, 91.84°)
OKLaboklab(72.66% -0.0119 0.1337)
OKLCHoklch(72.66% 0.134 95.1)
XYZxyz(35.9625, 38.4550, 8.2171)
Luminance0.3845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A52F #2F4BC1
analogous
#C15C2F #C1A52F #94C12F
triadic
#C1A52F #2FC1A5 #A52FC1
tetradic
#C1A52F #2FC15C #2F4BC1 #C12F94
square
#C1A52F #2FC15C #2F4BC1 #C12F94
split-complementary
#C1A52F #2F94C1 #5C2FC1
monochromatic
#5F5117 #907B23 #C1A52F #D6BE57 #E2D188

Accessibility & contrast

On white

2.42
#C1A52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#C1A52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A52F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A52F#FFFFFF#000000##000000
##C1A52F1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A219
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#D1988E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c1a52f;
/* rgb */ color: rgb(193, 165, 47);
/* oklch */ color: oklch(72.7% 0.134 95.1);
Tailwind
colors: {
  custom: {
    50: '#d8bf70',
    500: '#c1a52f',
    950: '#000000',
  },
}
SCSS
$custom: #c1a52f;
$custom-light: #d8bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a52f",
  "rgb": {
    "r": 193,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 48.493,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72659,
    "c": 0.13418,
    "h": 95.1
  },
  "luminance": 0.38453
}

Semantic roles & 50–950 ramp

primary
#C1A52F
secondary
#808FCC
accent
#63E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C1A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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