#C1A331#C1A331

#C1A331 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.132 H 93.7°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#C1A331
RGBrgb(193, 163, 49)
HSLhsl(48, 60%, 47%)
HSVhsv(48, 75%, 76%)
CMYKcmyk(0%, 15.5%, 74.6%, 24.3%)
CIE-LABlab(67.84, -0.81, 59.70)
CIE-LCHlch(67.84, 59.70, 90.77°)
OKLaboklab(72.26% -0.0084 0.1315)
OKLCHoklch(72.26% 0.132 93.7)
XYZxyz(35.6458, 37.7557, 8.3152)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A331 #314FC1
analogous
#C15B31 #C1A331 #97C131
triadic
#C1A331 #31C1A3 #A331C1
tetradic
#C1A331 #31C15B #314FC1 #C13197
square
#C1A331 #31C15B #314FC1 #C13197
split-complementary
#C1A331 #3197C1 #5B31C1
monochromatic
#5F5118 #907A25 #C1A331 #D5BB5A #E2CF8B

Accessibility & contrast

On white

2.46
#C1A331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#C1A331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A331
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A331#FFFFFF#000000##000000
##C1A3311.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01D
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#D1968D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c1a331;
/* rgb */ color: rgb(193, 163, 49);
/* oklch */ color: oklch(72.3% 0.132 93.7);
Tailwind
colors: {
  custom: {
    50: '#d8bd71',
    500: '#c1a331',
    950: '#000000',
  },
}
SCSS
$custom: #c1a331;
$custom-light: #d8bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a331",
  "rgb": {
    "r": 193,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 47.5,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72256,
    "c": 0.13172,
    "h": 93.7
  },
  "luminance": 0.37754
}

Semantic roles & 50–950 ramp

primary
#C1A331
secondary
#8291CC
accent
#66E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C1A331

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

Preview Lab → · Contrast checker → · Palette generator →

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