#B5C53B#B5C53B

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

Color values

HEX#B5C53B
RGBrgb(181, 197, 59)
HSLhsl(67, 54%, 50%)
HSVhsv(67, 70%, 77%)
CMYKcmyk(8.1%, 0%, 70.1%, 22.7%)
CIE-LABlab(76.11, -22.93, 63.72)
CIE-LCHlch(76.11, 67.72, 109.79°)
OKLaboklab(78.62% -0.069 0.1422)
OKLCHoklch(78.62% 0.158 115.9)
XYZxyz(39.8127, 50.0726, 11.7045)
Luminance0.5007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C53B #4B3BC5
analogous
#C5903B #B5C53B #70C53B
triadic
#B5C53B #3BB5C5 #C53BB5
tetradic
#B5C53B #3BC590 #4B3BC5 #C53B70
square
#B5C53B #3BC590 #4B3BC5 #C53B70
split-complementary
#B5C53B #3B70C5 #903BC5
monochromatic
#5F671F #8A962C #B5C53B #C7D36A #D9E199

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C53B#FFFFFF#000000##000000
##B5C53B1.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)
#D3BB24
Deuteranopia (green-blind)
#D1BD46
Tritanopia (blue-blind)
#C0BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c53b;
/* rgb */ color: rgb(181, 197, 59);
/* oklch */ color: oklch(78.6% 0.158 115.9);
Tailwind
colors: {
  custom: {
    50: '#ced67a',
    500: '#b5c53b',
    950: '#000000',
  },
}
SCSS
$custom: #b5c53b;
$custom-light: #ced67a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c53b",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 59
  },
  "hsl": {
    "h": 66.957,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78622,
    "c": 0.15802,
    "h": 115.9
  },
  "luminance": 0.50072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B5C53B

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

Preview Lab → · Contrast checker → · Palette generator →

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