#C1BA31#C1BA31

#C1BA31 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.1% C 0.150 H 106.4°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#C1BA31
RGBrgb(193, 186, 49)
HSLhsl(57, 60%, 47%)
HSVhsv(57, 75%, 76%)
CMYKcmyk(0%, 3.6%, 74.6%, 24.3%)
CIE-LABlab(73.98, -12.83, 65.51)
CIE-LCHlch(73.98, 66.75, 101.08°)
OKLaboklab(77.13% -0.0424 0.1438)
OKLCHoklch(77.13% 0.15 106.4)
XYZxyz(40.1072, 46.6785, 9.8023)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1BA31 #3138C1
analogous
#C17231 #C1BA31 #80C131
triadic
#C1BA31 #31C1BA #BA31C1
tetradic
#C1BA31 #31C172 #3138C1 #C13180
square
#C1BA31 #31C172 #3138C1 #C13180
split-complementary
#C1BA31 #3180C1 #7231C1
monochromatic
#5F5C18 #908B25 #C1BA31 #D5CF5A #E2DD8B

Accessibility & contrast

On white

2.03
#C1BA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#C1BA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1BA31
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1BA31#FFFFFF#000000##000000
##C1BA311.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB313
Deuteranopia (green-blind)
#CDB83C
Tritanopia (blue-blind)
#CFADA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c1ba31;
/* rgb */ color: rgb(193, 186, 49);
/* oklch */ color: oklch(77.1% 0.150 106.4);
Tailwind
colors: {
  custom: {
    50: '#d8ce74',
    500: '#c1ba31',
    950: '#000000',
  },
}
SCSS
$custom: #c1ba31;
$custom-light: #d8ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ba31",
  "rgb": {
    "r": 193,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 57.083,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.77132,
    "c": 0.14991,
    "h": 106.4
  },
  "luminance": 0.46677
}

Semantic roles & 50–950 ramp

primary
#C1BA31
secondary
#8286CC
accent
#4DE345
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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