#C5BA41#C5BA41

#C5BA41 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.6% C 0.139 H 104.1°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#C5BA41
RGBrgb(197, 186, 65)
HSLhsl(55, 53%, 51%)
HSVhsv(55, 67%, 77%)
CMYKcmyk(0%, 5.6%, 67%, 22.7%)
CIE-LABlab(74.43, -10.33, 60.14)
CIE-LCHlch(74.43, 61.02, 99.74°)
OKLaboklab(77.6% -0.0339 0.1351)
OKLCHoklch(77.6% 0.139 104.1)
XYZxyz(41.5406, 47.3714, 11.9554)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA41 #414CC5
analogous
#C57841 #C5BA41 #8EC541
triadic
#C5BA41 #41C5BA #BA41C5
tetradic
#C5BA41 #41C578 #414CC5 #C5418E
square
#C5BA41 #41C578 #414CC5 #C5418E
split-complementary
#C5BA41 #418EC5 #7841C5
monochromatic
#6B6521 #9A912F #C5BA41 #D3CB70 #E2DC9F

Accessibility & contrast

On white

2.00
#C5BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#C5BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA41
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA41#FFFFFF#000000##000000
##C5BA411.002.0010.4710.47
#FFFFFF2.001.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB430
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#D3AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba41;
/* rgb */ color: rgb(197, 186, 65);
/* oklch */ color: oklch(77.6% 0.139 104.1);
Tailwind
colors: {
  custom: {
    50: '#dace7c',
    500: '#c5ba41',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba41;
$custom-light: #dace7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba41",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 55,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.776,
    "c": 0.13932,
    "h": 104.1
  },
  "luminance": 0.4737
}

Semantic roles & 50–950 ramp

primary
#C5BA41
secondary
#9499CE
accent
#57DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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