#C1BA42#C1BA42

#C1BA42 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.3% C 0.139 H 106.0°. Best body text is #000000 at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#C1BA42
RGBrgb(193, 186, 66)
HSLhsl(57, 51%, 51%)
HSVhsv(57, 66%, 76%)
CMYKcmyk(0%, 3.6%, 65.8%, 24.3%)
CIE-LABlab(74.09, -11.97, 59.28)
CIE-LCHlch(74.09, 60.48, 101.42°)
OKLaboklab(77.26% -0.0383 0.1336)
OKLCHoklch(77.26% 0.139 106)
XYZxyz(40.5361, 46.8500, 12.0609)
Luminance0.4685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1BA42 #4249C1
analogous
#C17A42 #C1BA42 #88C142
triadic
#C1BA42 #42C1BA #BA42C1
tetradic
#C1BA42 #42C17A #4249C1 #C14288
square
#C1BA42 #42C17A #4249C1 #C14288
split-complementary
#C1BA42 #4288C1 #7A42C1
monochromatic
#676322 #958F31 #C1BA42 #D0CB70 #DFDC9E

Accessibility & contrast

On white

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

On black

10.37
#C1BA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1BA42
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1BA42#FFFFFF#000000##000000
##C1BA421.002.0310.3710.37
#FFFFFF2.031.0021.0021.00
#00000010.3721.001.001.00
##00000010.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B332
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#CFAEA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c1ba42;
/* rgb */ color: rgb(193, 186, 66);
/* oklch */ color: oklch(77.3% 0.139 106.0);
Tailwind
colors: {
  custom: {
    50: '#d7ce7d',
    500: '#c1ba42',
    950: '#000000',
  },
}
SCSS
$custom: #c1ba42;
$custom-light: #d7ce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ba42",
  "rgb": {
    "r": 193,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 56.693,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77255,
    "c": 0.13896,
    "h": 106
  },
  "luminance": 0.46849
}

Semantic roles & 50–950 ramp

primary
#C1BA42
secondary
#9396CC
accent
#55DA4E
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1BA42

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

Preview Lab → · Contrast checker → · Palette generator →

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