#B5C539#B5C539

#B5C539 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#B5C539
RGBrgb(181, 197, 57)
HSLhsl(67, 55%, 50%)
HSVhsv(67, 71%, 77%)
CMYKcmyk(8.1%, 0%, 71.1%, 22.7%)
CIE-LABlab(76.10, -23.04, 64.43)
CIE-LCHlch(76.10, 68.43, 109.68°)
OKLaboklab(78.61% -0.0695 0.1433)
OKLCHoklch(78.61% 0.159 115.9)
XYZxyz(39.7618, 50.0523, 11.4365)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C539 #4939C5
analogous
#C58F39 #B5C539 #6FC539
triadic
#B5C539 #39B5C5 #C539B5
tetradic
#B5C539 #39C58F #4939C5 #C5396F
square
#B5C539 #39C58F #4939C5 #C5396F
split-complementary
#B5C539 #396FC5 #8F39C5
monochromatic
#5E661E #89962B #B5C539 #C7D368 #D9E197

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C539#FFFFFF#000000##000000
##B5C5391.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)
#D3BB20
Deuteranopia (green-blind)
#D1BD44
Tritanopia (blue-blind)
#C0BAAA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c539;
/* rgb */ color: rgb(181, 197, 57);
/* oklch */ color: oklch(78.6% 0.159 115.9);
Tailwind
colors: {
  custom: {
    50: '#cfd679',
    500: '#b5c539',
    950: '#000000',
  },
}
SCSS
$custom: #b5c539;
$custom-light: #cfd679;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c539",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 57
  },
  "hsl": {
    "h": 66.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78608,
    "c": 0.15928,
    "h": 115.9
  },
  "luminance": 0.50052
}

Semantic roles & 50–950 ramp

primary
#B5C539
secondary
#393270
accent
#49DE5A
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #B5C539

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

Preview Lab → · Contrast checker → · Palette generator →

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