#C1BA38#C1BA38

#C1BA38 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.2% C 0.146 H 106.3°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#C1BA38
RGBrgb(193, 186, 56)
HSLhsl(57, 55%, 49%)
HSVhsv(57, 71%, 76%)
CMYKcmyk(0%, 3.6%, 71%, 24.3%)
CIE-LABlab(74.02, -12.51, 63.09)
CIE-LCHlch(74.02, 64.32, 101.22°)
OKLaboklab(77.18% -0.0408 0.1399)
OKLCHoklch(77.18% 0.146 106.3)
XYZxyz(40.2666, 46.7422, 10.6417)
Luminance0.4674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1BA38 #383FC1
analogous
#C17638 #C1BA38 #84C138
triadic
#C1BA38 #38C1BA #BA38C1
tetradic
#C1BA38 #38C176 #383FC1 #C13884
square
#C1BA38 #38C176 #383FC1 #C13884
split-complementary
#C1BA38 #3884C1 #7638C1
monochromatic
#625F1C #928C2A #C1BA38 #D2CC64 #E0DC94

Accessibility & contrast

On white

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

On black

10.35
#C1BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1BA38
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1BA38#FFFFFF#000000##000000
##C1BA381.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1ba38;
/* rgb */ color: rgb(193, 186, 56);
/* oklch */ color: oklch(77.2% 0.146 106.3);
Tailwind
colors: {
  custom: {
    50: '#d7ce77',
    500: '#c1ba38',
    950: '#000000',
  },
}
SCSS
$custom: #c1ba38;
$custom-light: #d7ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#c1ba38",
  "rgb": {
    "r": 193,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 56.934,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77178,
    "c": 0.14577,
    "h": 106.3
  },
  "luminance": 0.46741
}

Semantic roles & 50–950 ramp

primary
#C1BA38
secondary
#8A8DCB
accent
#51DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C1BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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