#B5B330#B5B330

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

Color values

HEX#B5B330
RGBrgb(181, 179, 48)
HSLhsl(59, 58%, 45%)
HSVhsv(59, 73%, 71%)
CMYKcmyk(0%, 1.1%, 73.5%, 29%)
CIE-LABlab(71.06, -14.48, 62.74)
CIE-LCHlch(71.06, 64.39, 102.99°)
OKLaboklab(74.56% -0.0464 0.1382)
OKLCHoklch(74.56% 0.146 108.6)
XYZxyz(35.7110, 42.2785, 9.0752)
Luminance0.4228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B330 #3032B5
analogous
#B57130 #B5B330 #74B530
triadic
#B5B330 #30B5B3 #B330B5
tetradic
#B5B330 #30B571 #3032B5 #B53074
square
#B5B330 #30B571 #3032B5 #B53074
split-complementary
#B5B330 #3074B5 #7130B5
monochromatic
#545316 #858323 #B5B330 #D1CF51 #DEDC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B330#FFFFFF#000000##000000
##B5B3301.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)
#C2AC15
Deuteranopia (green-blind)
#C4B03A
Tritanopia (blue-blind)
#C2A79A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b5b330;
/* rgb */ color: rgb(181, 179, 48);
/* oklch */ color: oklch(74.6% 0.146 108.6);
Tailwind
colors: {
  custom: {
    50: '#cfc972',
    500: '#b5b330',
    950: '#000000',
  },
}
SCSS
$custom: #b5b330;
$custom-light: #cfc972;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b330",
  "rgb": {
    "r": 181,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 59.098,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74557,
    "c": 0.14579,
    "h": 108.6
  },
  "luminance": 0.42277
}

Semantic roles & 50–950 ramp

primary
#B5B330
secondary
#7A7BC7
accent
#49E146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B330

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

Preview Lab → · Contrast checker → · Palette generator →

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