#B5B032#B5B032

#B5B032 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.142 H 107.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#B5B032
RGBrgb(181, 176, 50)
HSLhsl(58, 57%, 45%)
HSVhsv(58, 72%, 71%)
CMYKcmyk(0%, 2.8%, 72.4%, 29%)
CIE-LABlab(70.25, -12.85, 61.27)
CIE-LCHlch(70.25, 62.60, 101.84°)
OKLaboklab(73.91% -0.0417 0.1354)
OKLCHoklch(73.91% 0.142 107.1)
XYZxyz(35.1585, 41.1059, 9.0992)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B032 #3237B5
analogous
#B56E32 #B5B032 #78B532
triadic
#B5B032 #32B5B0 #B032B5
tetradic
#B5B032 #32B56E #3237B5 #B53278
square
#B5B032 #32B56E #3237B5 #B53278
split-complementary
#B5B032 #3278B5 #6E32B5
monochromatic
#555318 #858125 #B5B032 #D0CB54 #DDDA84

Accessibility & contrast

On white

2.28
#B5B032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#B5B032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B032
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B032#FFFFFF#000000##000000
##B5B0321.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91B
Deuteranopia (green-blind)
#C1AE3B
Tritanopia (blue-blind)
#C2A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b032;
/* rgb */ color: rgb(181, 176, 50);
/* oklch */ color: oklch(73.9% 0.142 107.1);
Tailwind
colors: {
  custom: {
    50: '#cfc773',
    500: '#b5b032',
    950: '#000000',
  },
}
SCSS
$custom: #b5b032;
$custom-light: #cfc773;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b032",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 50
  },
  "hsl": {
    "h": 57.71,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73913,
    "c": 0.1417,
    "h": 107.1
  },
  "luminance": 0.41105
}

Semantic roles & 50–950 ramp

primary
#B5B032
secondary
#7C7FC7
accent
#4EE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B032

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

Preview Lab → · Contrast checker → · Palette generator →

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