#B5BB57#B5BB57

#B5BB57 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.7% C 0.124 H 112.1°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#B5BB57
RGBrgb(181, 187, 87)
HSLhsl(64, 42%, 54%)
HSVhsv(64, 53%, 73%)
CMYKcmyk(3.2%, 0%, 53.5%, 26.7%)
CIE-LABlab(73.58, -16.02, 49.19)
CIE-LCHlch(73.58, 51.73, 108.04°)
OKLaboklab(76.67% -0.0467 0.1151)
OKLCHoklch(76.67% 0.124 112.1)
XYZxyz(38.5475, 46.0533, 15.8735)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB57 #5D57BB
analogous
#BB8F57 #B5BB57 #83BB57
triadic
#B5BB57 #57B5BB #BB57B5
tetradic
#B5BB57 #57BB8F #5D57BB #BB5783
square
#B5BB57 #57BB8F #5D57BB #BB5783
split-complementary
#B5BB57 #5783BB #8F57BB
monochromatic
#686C2C #92973D #B5BB57 #C8CD83 #DBDEAE

Accessibility & contrast

On white

2.06
#B5BB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#B5BB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB57
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB57#FFFFFF#000000##000000
##B5BB571.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34D
Deuteranopia (green-blind)
#C8B65C
Tritanopia (blue-blind)
#C0B1A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bb57;
/* rgb */ color: rgb(181, 187, 87);
/* oklch */ color: oklch(76.7% 0.124 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdcf89',
    500: '#b5bb57',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb57;
$custom-light: #cdcf89;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb57",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 87
  },
  "hsl": {
    "h": 63.6,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76669,
    "c": 0.12427,
    "h": 112.1
  },
  "luminance": 0.46053
}

Semantic roles & 50–950 ramp

primary
#B5BB57
secondary
#A4A2CC
accent
#56D25D
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B5BB57

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

Preview Lab → · Contrast checker → · Palette generator →

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