#C1A831#C1A831

#C1A831 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.3% C 0.135 H 96.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#C1A831
RGBrgb(193, 168, 49)
HSLhsl(50, 60%, 47%)
HSVhsv(50, 75%, 76%)
CMYKcmyk(0%, 13%, 74.6%, 24.3%)
CIE-LABlab(69.16, -3.47, 60.96)
CIE-LCHlch(69.16, 61.06, 93.25°)
OKLaboklab(73.3% -0.016 0.1341)
OKLCHoklch(73.3% 0.135 96.8)
XYZxyz(36.5512, 39.5664, 8.6170)
Luminance0.3956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1A831 #314AC1
analogous
#C16031 #C1A831 #92C131
triadic
#C1A831 #31C1A8 #A831C1
tetradic
#C1A831 #31C160 #314AC1 #C13192
square
#C1A831 #31C160 #314AC1 #C13192
split-complementary
#C1A831 #3192C1 #6031C1
monochromatic
#5F5318 #907E25 #C1A831 #D5C05A #E2D28B

Accessibility & contrast

On white

2.36
#C1A831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#C1A831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1A831
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1A831#FFFFFF#000000##000000
##C1A8311.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A41C
Deuteranopia (green-blind)
#C0AC39
Tritanopia (blue-blind)
#D09B91
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #c1a831;
/* rgb */ color: rgb(193, 168, 49);
/* oklch */ color: oklch(73.3% 0.135 96.8);
Tailwind
colors: {
  custom: {
    50: '#d8c172',
    500: '#c1a831',
    950: '#000000',
  },
}
SCSS
$custom: #c1a831;
$custom-light: #d8c172;
$custom-dark: #000000;
JSON
{
  "hex": "#c1a831",
  "rgb": {
    "r": 193,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 49.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.733,
    "c": 0.13508,
    "h": 96.8
  },
  "luminance": 0.39564
}

Semantic roles & 50–950 ramp

primary
#C1A831
secondary
#828FCC
accent
#60E345
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #C1A831

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

Preview Lab → · Contrast checker → · Palette generator →

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