#B5B03A#B5B03A

#B5B03A is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.0% C 0.136 H 106.9°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B5B03A
RGBrgb(181, 176, 58)
HSLhsl(58, 51%, 47%)
HSVhsv(58, 68%, 71%)
CMYKcmyk(0%, 2.8%, 68%, 29%)
CIE-LABlab(70.30, -12.43, 58.30)
CIE-LCHlch(70.30, 59.61, 102.04°)
OKLaboklab(73.97% -0.0397 0.1306)
OKLCHoklch(73.97% 0.136 106.9)
XYZxyz(35.3464, 41.1811, 10.0890)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B03A #3A3FB5
analogous
#B5733A #B5B03A #7DB53A
triadic
#B5B03A #3AB5B0 #B03AB5
tetradic
#B5B03A #3AB573 #3A3FB5 #B53A7D
square
#B5B03A #3AB573 #3A3FB5 #B53A7D
split-complementary
#B5B03A #3A7DB5 #733AB5
monochromatic
#58561C #87832B #B5B03A #CCC860 #DBD88E

Accessibility & contrast

On white

2.27
#B5B03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B5B03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B03A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B03A#FFFFFF#000000##000000
##B5B03A1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA929
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#C2A598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b03a;
/* rgb */ color: rgb(181, 176, 58);
/* oklch */ color: oklch(74.0% 0.136 106.9);
Tailwind
colors: {
  custom: {
    50: '#cec777',
    500: '#b5b03a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b03a;
$custom-light: #cec777;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b03a",
  "rgb": {
    "r": 181,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 57.561,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73971,
    "c": 0.13647,
    "h": 106.9
  },
  "luminance": 0.4118
}

Semantic roles & 50–950 ramp

primary
#B5B03A
secondary
#8588C6
accent
#53DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B03A

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

Preview Lab → · Contrast checker → · Palette generator →

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