#C5BA36#C5BA36

#C5BA36 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.5% C 0.147 H 104.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C5BA36
RGBrgb(197, 186, 54)
HSLhsl(55, 57%, 49%)
HSVhsv(55, 73%, 77%)
CMYKcmyk(0%, 5.6%, 72.6%, 22.7%)
CIE-LABlab(74.35, -10.89, 64.25)
CIE-LCHlch(74.35, 65.16, 99.62°)
OKLaboklab(77.52% -0.0367 0.1419)
OKLCHoklch(77.52% 0.147 104.5)
XYZxyz(41.2525, 47.2561, 10.4377)
Luminance0.4725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA36 #3641C5
analogous
#C57336 #C5BA36 #88C536
triadic
#C5BA36 #36C5BA #BA36C5
tetradic
#C5BA36 #36C573 #3641C5 #C53688
square
#C5BA36 #36C573 #3641C5 #C53688
split-complementary
#C5BA36 #3688C5 #7336C5
monochromatic
#655F1C #958D29 #C5BA36 #D4CC64 #E2DC94

Accessibility & contrast

On white

2.01
#C5BA36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#C5BA36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA36
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA36#FFFFFF#000000##000000
##C5BA361.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB41E
Deuteranopia (green-blind)
#CEBA3F
Tritanopia (blue-blind)
#D4ADA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba36;
/* rgb */ color: rgb(197, 186, 54);
/* oklch */ color: oklch(77.5% 0.147 104.5);
Tailwind
colors: {
  custom: {
    50: '#dace76',
    500: '#c5ba36',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba36;
$custom-light: #dace76;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba36",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 54
  },
  "hsl": {
    "h": 55.385,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77518,
    "c": 0.14655,
    "h": 104.5
  },
  "luminance": 0.47254
}

Semantic roles & 50–950 ramp

primary
#C5BA36
secondary
#8A8FCD
accent
#53E048
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BA36

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

Preview Lab → · Contrast checker → · Palette generator →

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