#B5CB3A#B5CB3A

#B5CB3A is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.0% C 0.165 H 117.9°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#B5CB3A
RGBrgb(181, 203, 58)
HSLhsl(69, 58%, 51%)
HSVhsv(69, 71%, 80%)
CMYKcmyk(10.8%, 0%, 71.4%, 20.4%)
CIE-LABlab(77.78, -25.90, 65.72)
CIE-LCHlch(77.78, 70.64, 111.51°)
OKLaboklab(79.96% -0.0773 0.1462)
OKLCHoklch(79.96% 0.165 117.9)
XYZxyz(41.1766, 52.8415, 12.0324)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5CB3A #503ACB
analogous
#CB983A #B5CB3A #6CCB3A
triadic
#B5CB3A #3AB5CB #CB3AB5
tetradic
#B5CB3A #3ACB98 #503ACB #CB3A6C
square
#B5CB3A #3ACB98 #503ACB #CB3A6C
split-complementary
#B5CB3A #3A6CCB #983ACB
monochromatic
#616E1D #8C9E2A #B5CB3A #C7D86A #D9E59B

Accessibility & contrast

On white

1.82
#B5CB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#B5CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5CB3A
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5CB3A#FFFFFF#000000##000000
##B5CB3A1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01F
Deuteranopia (green-blind)
#D6C146
Tritanopia (blue-blind)
#C0C0AF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b5cb3a;
/* rgb */ color: rgb(181, 203, 58);
/* oklch */ color: oklch(80.0% 0.165 117.9);
Tailwind
colors: {
  custom: {
    50: '#cfda7a',
    500: '#b5cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #b5cb3a;
$custom-light: #cfda7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5cb3a",
  "rgb": {
    "r": 181,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 69.103,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79959,
    "c": 0.16538,
    "h": 117.9
  },
  "luminance": 0.52841
}

Semantic roles & 50–950 ramp

primary
#B5CB3A
secondary
#3D3277
accent
#46E15E
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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