#B5C336#B5C336

#B5C336 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.1% C 0.159 H 115.1°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#B5C336
RGBrgb(181, 195, 54)
HSLhsl(66, 57%, 49%)
HSVhsv(66, 72%, 76%)
CMYKcmyk(7.2%, 0%, 72.3%, 23.5%)
CIE-LABlab(75.53, -22.21, 64.93)
CIE-LCHlch(75.53, 68.62, 108.88°)
OKLaboklab(78.14% -0.0675 0.1439)
OKLCHoklch(78.14% 0.159 115.1)
XYZxyz(39.2381, 49.1210, 10.9036)
Luminance0.4912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C336 #4436C3
analogous
#C38B36 #B5C336 #6FC336
triadic
#B5C336 #36B5C3 #C336B5
tetradic
#B5C336 #36C38B #4436C3 #C3366F
square
#B5C336 #36C38B #4436C3 #C3366F
split-complementary
#B5C336 #366FC3 #8B36C3
monochromatic
#5C631B #899329 #B5C336 #C8D463 #D9E192

Accessibility & contrast

On white

1.94
#B5C336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#B5C336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C336
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C336#FFFFFF#000000##000000
##B5C3361.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91B
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#C1B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b5c336;
/* rgb */ color: rgb(181, 195, 54);
/* oklch */ color: oklch(78.1% 0.159 115.1);
Tailwind
colors: {
  custom: {
    50: '#cfd577',
    500: '#b5c336',
    950: '#000000',
  },
}
SCSS
$custom: #b5c336;
$custom-light: #cfd577;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c336",
  "rgb": {
    "r": 181,
    "g": 195,
    "b": 54
  },
  "hsl": {
    "h": 65.957,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78141,
    "c": 0.15889,
    "h": 115.1
  },
  "luminance": 0.4912
}

Semantic roles & 50–950 ramp

primary
#B5C336
secondary
#9089CC
accent
#48E057
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C336

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

Preview Lab → · Contrast checker → · Palette generator →

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