#B5B232#B5B232

#B5B232 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.4% C 0.144 H 108.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#B5B232
RGBrgb(181, 178, 50)
HSLhsl(59, 57%, 45%)
HSVhsv(59, 72%, 71%)
CMYKcmyk(0%, 1.7%, 72.4%, 29%)
CIE-LABlab(70.80, -13.87, 61.79)
CIE-LCHlch(70.80, 63.33, 102.65°)
OKLaboklab(74.35% -0.0446 0.1365)
OKLCHoklch(74.35% 0.144 108.1)
XYZxyz(35.5535, 41.8960, 9.2309)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B232 #3235B5
analogous
#B57032 #B5B232 #76B532
triadic
#B5B232 #32B5B2 #B232B5
tetradic
#B5B232 #32B570 #3235B5 #B53276
square
#B5B232 #32B570 #3235B5 #B53276
split-complementary
#B5B232 #3276B5 #7032B5
monochromatic
#555418 #858325 #B5B232 #D0CD54 #DDDB84

Accessibility & contrast

On white

2.24
#B5B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#B5B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B232
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B232#FFFFFF#000000##000000
##B5B2321.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB1A
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#C2A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b5b232;
/* rgb */ color: rgb(181, 178, 50);
/* oklch */ color: oklch(74.4% 0.144 108.1);
Tailwind
colors: {
  custom: {
    50: '#cfc873',
    500: '#b5b232',
    950: '#000000',
  },
}
SCSS
$custom: #b5b232;
$custom-light: #cfc873;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b232",
  "rgb": {
    "r": 181,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 58.626,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74351,
    "c": 0.14363,
    "h": 108.1
  },
  "luminance": 0.41895
}

Semantic roles & 50–950 ramp

primary
#B5B232
secondary
#7C7EC7
accent
#4BE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B232

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

Preview Lab → · Contrast checker → · Palette generator →

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