#B5C53A#B5C53A

#B5C53A is a light, vivid yellow. Relative luminance 0.501; OKLCH L 78.6% C 0.159 H 115.9°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#B5C53A
RGBrgb(181, 197, 58)
HSLhsl(67, 55%, 50%)
HSVhsv(67, 71%, 77%)
CMYKcmyk(8.1%, 0%, 70.6%, 22.7%)
CIE-LABlab(76.11, -22.99, 64.08)
CIE-LCHlch(76.11, 68.08, 109.73°)
OKLaboklab(78.61% -0.0693 0.1427)
OKLCHoklch(78.61% 0.159 115.9)
XYZxyz(39.7870, 50.0623, 11.5692)
Luminance0.5006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C53A #4A3AC5
analogous
#C58F3A #B5C53A #70C53A
triadic
#B5C53A #3AB5C5 #C53AB5
tetradic
#B5C53A #3AC58F #4A3AC5 #C53A70
square
#B5C53A #3AC58F #4A3AC5 #C53A70
split-complementary
#B5C53A #3A70C5 #8F3AC5
monochromatic
#5E661E #8A962C #B5C53A #C7D369 #D9E199

Accessibility & contrast

On white

1.91
#B5C53A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#B5C53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C53A
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C53A#FFFFFF#000000##000000
##B5C53A1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB22
Deuteranopia (green-blind)
#D1BD45
Tritanopia (blue-blind)
#C0BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c53a;
/* rgb */ color: rgb(181, 197, 58);
/* oklch */ color: oklch(78.6% 0.159 115.9);
Tailwind
colors: {
  custom: {
    50: '#cfd679',
    500: '#b5c53a',
    950: '#000000',
  },
}
SCSS
$custom: #b5c53a;
$custom-light: #cfd679;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c53a",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 58
  },
  "hsl": {
    "h": 66.906,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.78615,
    "c": 0.15865,
    "h": 115.9
  },
  "luminance": 0.50062
}

Semantic roles & 50–950 ramp

primary
#B5C53A
secondary
#3A3271
accent
#4ADE5B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5C53A

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

Preview Lab → · Contrast checker → · Palette generator →

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