#B5B33A#B5B33A

#B5B33A is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.139 H 108.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#B5B33A
RGBrgb(181, 179, 58)
HSLhsl(59, 51%, 47%)
HSVhsv(59, 68%, 71%)
CMYKcmyk(0%, 1.1%, 68%, 29%)
CIE-LABlab(71.13, -13.98, 59.13)
CIE-LCHlch(71.13, 60.75, 103.30°)
OKLaboklab(74.63% -0.0441 0.1323)
OKLCHoklch(74.63% 0.139 108.4)
XYZxyz(35.9411, 42.3706, 10.2873)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B33A #3A3CB5
analogous
#B5753A #B5B33A #7AB53A
triadic
#B5B33A #3AB5B3 #B33AB5
tetradic
#B5B33A #3AB575 #3A3CB5 #B53A7A
square
#B5B33A #3AB575 #3A3CB5 #B53A7A
split-complementary
#B5B33A #3A7AB5 #753AB5
monochromatic
#58571C #87852B #B5B33A #CCCA60 #DBDA8E

Accessibility & contrast

On white

2.22
#B5B33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#B5B33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B33A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B33A#FFFFFF#000000##000000
##B5B33A1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC28
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#C2A89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b33a;
/* rgb */ color: rgb(181, 179, 58);
/* oklch */ color: oklch(74.6% 0.139 108.4);
Tailwind
colors: {
  custom: {
    50: '#cec977',
    500: '#b5b33a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b33a;
$custom-light: #cec977;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b33a",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 59.024,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74628,
    "c": 0.13945,
    "h": 108.4
  },
  "luminance": 0.42369
}

Semantic roles & 50–950 ramp

primary
#B5B33A
secondary
#8586C6
accent
#4FDB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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