#B5B02B#B5B02B

#B5B02B is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.9% C 0.146 H 107.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#B5B02B
RGBrgb(181, 176, 43)
HSLhsl(58, 62%, 44%)
HSVhsv(58, 76%, 71%)
CMYKcmyk(0%, 2.8%, 76.2%, 29%)
CIE-LABlab(70.21, -13.15, 63.62)
CIE-LCHlch(70.21, 64.97, 101.68°)
OKLaboklab(73.87% -0.0432 0.1391)
OKLCHoklch(73.87% 0.146 107.2)
XYZxyz(35.0189, 41.0501, 8.3638)
Luminance0.4105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B02B #2B30B5
analogous
#B56B2B #B5B02B #75B52B
triadic
#B5B02B #2BB5B0 #B02BB5
tetradic
#B5B02B #2BB56B #2B30B5 #B52B75
square
#B5B02B #2BB56B #2B30B5 #B52B75
split-complementary
#B5B02B #2B75B5 #6B2BB5
monochromatic
#525014 #84801F #B5B02B #D4CF49 #E0DC7B

Accessibility & contrast

On white

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

On black

9.21
#B5B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B02B
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B02B#FFFFFF#000000##000000
##B5B02B1.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA909
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#C2A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b02b;
/* rgb */ color: rgb(181, 176, 43);
/* oklch */ color: oklch(73.9% 0.146 107.2);
Tailwind
colors: {
  custom: {
    50: '#cfc76f',
    500: '#b5b02b',
    950: '#000000',
  },
}
SCSS
$custom: #b5b02b;
$custom-light: #cfc76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b02b",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 57.826,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73869,
    "c": 0.14568,
    "h": 107.2
  },
  "luminance": 0.41049
}

Semantic roles & 50–950 ramp

primary
#B5B02B
secondary
#7477C8
accent
#49E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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