#C1BA40#C1BA40

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

Color values

HEX#C1BA40
RGBrgb(193, 186, 64)
HSLhsl(57, 51%, 50%)
HSVhsv(57, 67%, 76%)
CMYKcmyk(0%, 3.6%, 66.8%, 24.3%)
CIE-LABlab(74.08, -12.09, 60.07)
CIE-LCHlch(74.08, 61.28, 101.38°)
OKLaboklab(77.24% -0.0388 0.1349)
OKLCHoklch(77.24% 0.14 106)
XYZxyz(40.4782, 46.8268, 11.7558)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1BA40 #4047C1
analogous
#C17940 #C1BA40 #88C140
triadic
#C1BA40 #40C1BA #BA40C1
tetradic
#C1BA40 #40C179 #4047C1 #C14088
square
#C1BA40 #40C179 #4047C1 #C14088
split-complementary
#C1BA40 #4088C1 #7940C1
monochromatic
#666221 #948E30 #C1BA40 #D0CB6E #DFDB9C

Accessibility & contrast

On white

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

On black

10.36
#C1BA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1BA40
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1BA40#FFFFFF#000000##000000
##C1BA401.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1ba40;
/* rgb */ color: rgb(193, 186, 64);
/* oklch */ color: oklch(77.2% 0.140 106.0);
Tailwind
colors: {
  custom: {
    50: '#d7ce7c',
    500: '#c1ba40',
    950: '#000000',
  },
}
SCSS
$custom: #c1ba40;
$custom-light: #d7ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ba40",
  "rgb": {
    "r": 193,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 56.744,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77239,
    "c": 0.14041,
    "h": 106
  },
  "luminance": 0.46825
}

Semantic roles & 50–950 ramp

primary
#C1BA40
secondary
#9295CB
accent
#55DA4D
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C1BA40

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

Preview Lab → · Contrast checker → · Palette generator →

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