#C1B931#C1B931

#C1B931 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.9% C 0.149 H 106.0°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#C1B931
RGBrgb(193, 185, 49)
HSLhsl(57, 60%, 47%)
HSVhsv(57, 75%, 76%)
CMYKcmyk(0%, 4.1%, 74.6%, 24.3%)
CIE-LABlab(73.71, -12.32, 65.25)
CIE-LCHlch(73.71, 66.41, 100.69°)
OKLaboklab(76.92% -0.041 0.1432)
OKLCHoklch(76.92% 0.149 106)
XYZxyz(39.8973, 46.2586, 9.7323)
Luminance0.4626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B931 #3139C1
analogous
#C17131 #C1B931 #81C131
triadic
#C1B931 #31C1B9 #B931C1
tetradic
#C1B931 #31C171 #3139C1 #C13181
square
#C1B931 #31C171 #3139C1 #C13181
split-complementary
#C1B931 #3181C1 #7131C1
monochromatic
#5F5B18 #908A25 #C1B931 #D5CE5A #E2DD8B

Accessibility & contrast

On white

2.05
#C1B931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#C1B931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B931
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B931#FFFFFF#000000##000000
##C1B9311.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B214
Deuteranopia (green-blind)
#CCB83B
Tritanopia (blue-blind)
#CFAC9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c1b931;
/* rgb */ color: rgb(193, 185, 49);
/* oklch */ color: oklch(76.9% 0.149 106.0);
Tailwind
colors: {
  custom: {
    50: '#d8cd74',
    500: '#c1b931',
    950: '#000000',
  },
}
SCSS
$custom: #c1b931;
$custom-light: #d8cd74;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b931",
  "rgb": {
    "r": 193,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 56.667,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76917,
    "c": 0.14899,
    "h": 106
  },
  "luminance": 0.46257
}

Semantic roles & 50–950 ramp

primary
#C1B931
secondary
#8286CC
accent
#4EE345
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1B931

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

Preview Lab → · Contrast checker → · Palette generator →

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