#B5BB38#B5BB38

#B5BB38 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.4% C 0.149 H 112.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B5BB38
RGBrgb(181, 187, 56)
HSLhsl(63, 54%, 48%)
HSVhsv(63, 70%, 73%)
CMYKcmyk(3.2%, 0%, 70.1%, 26.7%)
CIE-LABlab(73.32, -18.14, 62.07)
CIE-LCHlch(73.32, 64.66, 106.29°)
OKLaboklab(76.38% -0.0559 0.1382)
OKLCHoklch(76.38% 0.149 112)
XYZxyz(37.5414, 45.6508, 10.5745)
Luminance0.4565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BB38 #3E38BB
analogous
#BB7F38 #B5BB38 #74BB38
triadic
#B5BB38 #38B5BB #BB38B5
tetradic
#B5BB38 #38BB7F #3E38BB #BB3874
square
#B5BB38 #38BB7F #3E38BB #BB3874
split-complementary
#B5BB38 #3874BB #7F38BB
monochromatic
#5A5D1C #878C2A #B5BB38 #CAD061 #DADE90

Accessibility & contrast

On white

2.07
#B5BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B5BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BB38
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BB38#FFFFFF#000000##000000
##B5BB381.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B222
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#C1B0A1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b5bb38;
/* rgb */ color: rgb(181, 187, 56);
/* oklch */ color: oklch(76.4% 0.149 112.0);
Tailwind
colors: {
  custom: {
    50: '#cecf77',
    500: '#b5bb38',
    950: '#000000',
  },
}
SCSS
$custom: #b5bb38;
$custom-light: #cecf77;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bb38",
  "rgb": {
    "r": 181,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 62.748,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76375,
    "c": 0.14906,
    "h": 112
  },
  "luminance": 0.4565
}

Semantic roles & 50–950 ramp

primary
#B5BB38
secondary
#8986C8
accent
#4BDD51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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