#C1A231#C1A231

#C1A231 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 72.0% C 0.131 H 93.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#C1A231
RGBrgb(193, 162, 49)
HSLhsl(47, 60%, 47%)
HSVhsv(47, 75%, 76%)
CMYKcmyk(0%, 16.1%, 74.6%, 24.3%)
CIE-LABlab(67.58, -0.27, 59.45)
CIE-LCHlch(67.58, 59.45, 90.26°)
OKLaboklab(72.05% -0.0069 0.1309)
OKLCHoklch(72.05% 0.131 93)
XYZxyz(35.4690, 37.4020, 8.2562)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A231 #3150C1
analogous
#C15A31 #C1A231 #98C131
triadic
#C1A231 #31C1A2 #A231C1
tetradic
#C1A231 #31C15A #3150C1 #C13198
square
#C1A231 #31C15A #3150C1 #C13198
split-complementary
#C1A231 #3198C1 #5A31C1
monochromatic
#5F5018 #907925 #C1A231 #D5BB5A #E2CF8B

Accessibility & contrast

On white

2.48
#C1A231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#C1A231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A231
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A231#FFFFFF#000000##000000
##C1A2311.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1E
Deuteranopia (green-blind)
#BBA838
Tritanopia (blue-blind)
#D1958C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c1a231;
/* rgb */ color: rgb(193, 162, 49);
/* oklch */ color: oklch(72.0% 0.131 93.0);
Tailwind
colors: {
  custom: {
    50: '#d8bd71',
    500: '#c1a231',
    950: '#000000',
  },
}
SCSS
$custom: #c1a231;
$custom-light: #d8bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a231",
  "rgb": {
    "r": 193,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 47.083,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72049,
    "c": 0.13109,
    "h": 93
  },
  "luminance": 0.374
}

Semantic roles & 50–950 ramp

primary
#C1A231
secondary
#8292CC
accent
#67E345
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C1A231

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

Preview Lab → · Contrast checker → · Palette generator →

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