#C5BA37#C5BA37

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

Color values

HEX#C5BA37
RGBrgb(197, 186, 55)
HSLhsl(55, 56%, 49%)
HSVhsv(55, 72%, 77%)
CMYKcmyk(0%, 5.6%, 72.1%, 22.7%)
CIE-LABlab(74.36, -10.84, 63.90)
CIE-LCHlch(74.36, 64.81, 99.63°)
OKLaboklab(77.53% -0.0364 0.1413)
OKLCHoklch(77.53% 0.146 104.5)
XYZxyz(41.2762, 47.2656, 10.5626)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA37 #3742C5
analogous
#C57337 #C5BA37 #89C537
triadic
#C5BA37 #37C5BA #BA37C5
tetradic
#C5BA37 #37C573 #3742C5 #C53789
square
#C5BA37 #37C573 #3742C5 #C53789
split-complementary
#C5BA37 #3789C5 #7337C5
monochromatic
#65601C #958D2A #C5BA37 #D4CB65 #E1DB95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BA37#FFFFFF#000000##000000
##C5BA371.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)
#CBB420
Deuteranopia (green-blind)
#CEBA40
Tritanopia (blue-blind)
#D4ADA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba37;
/* rgb */ color: rgb(197, 186, 55);
/* oklch */ color: oklch(77.5% 0.146 104.5);
Tailwind
colors: {
  custom: {
    50: '#dace77',
    500: '#c5ba37',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba37;
$custom-light: #dace77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba37",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 55
  },
  "hsl": {
    "h": 55.352,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77525,
    "c": 0.14594,
    "h": 104.5
  },
  "luminance": 0.47264
}

Semantic roles & 50–950 ramp

primary
#C5BA37
secondary
#8B90CD
accent
#54E048
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BA37

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

Preview Lab → · Contrast checker → · Palette generator →

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