#B5B333#B5B333

#B5B333 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.6% C 0.144 H 108.5°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#B5B333
RGBrgb(181, 179, 51)
HSLhsl(59, 56%, 45%)
HSVhsv(59, 72%, 71%)
CMYKcmyk(0%, 1.1%, 71.8%, 29%)
CIE-LABlab(71.08, -14.34, 61.71)
CIE-LCHlch(71.08, 63.35, 103.08°)
OKLaboklab(74.58% -0.0458 0.1365)
OKLCHoklch(74.58% 0.144 108.5)
XYZxyz(35.7750, 42.3041, 9.4123)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B333 #3335B5
analogous
#B57233 #B5B333 #76B533
triadic
#B5B333 #33B5B3 #B333B5
tetradic
#B5B333 #33B572 #3335B5 #B53376
square
#B5B333 #33B572 #3335B5 #B53376
split-complementary
#B5B333 #3376B5 #7233B5
monochromatic
#565518 #858426 #B5B333 #CFCD56 #DDDB86

Accessibility & contrast

On white

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

On black

9.46
#B5B333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B333
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B333#FFFFFF#000000##000000
##B5B3331.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1C
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#C2A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b333;
/* rgb */ color: rgb(181, 179, 51);
/* oklch */ color: oklch(74.6% 0.144 108.5);
Tailwind
colors: {
  custom: {
    50: '#cfc974',
    500: '#b5b333',
    950: '#000000',
  },
}
SCSS
$custom: #b5b333;
$custom-light: #cfc974;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b333",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 59.077,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74577,
    "c": 0.14401,
    "h": 108.5
  },
  "luminance": 0.42303
}

Semantic roles & 50–950 ramp

primary
#B5B333
secondary
#7D7FC6
accent
#4BDF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B333

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

Preview Lab → · Contrast checker → · Palette generator →

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