#B5B830#B5B830

#B5B830 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.7% C 0.151 H 110.8°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#B5B830
RGBrgb(181, 184, 48)
HSLhsl(61, 59%, 45%)
HSVhsv(61, 74%, 72%)
CMYKcmyk(1.6%, 0%, 73.9%, 27.8%)
CIE-LABlab(72.44, -17.02, 64.04)
CIE-LCHlch(72.44, 66.27, 104.88°)
OKLaboklab(75.66% -0.0535 0.1409)
OKLCHoklch(75.66% 0.151 110.8)
XYZxyz(36.7313, 44.3191, 9.4153)
Luminance0.4432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B830 #3330B8
analogous
#B87730 #B5B830 #71B830
triadic
#B5B830 #30B5B8 #B830B5
tetradic
#B5B830 #30B877 #3330B8 #B83071
square
#B5B830 #30B877 #3330B8 #B83071
split-complementary
#B5B830 #3071B8 #7730B8
monochromatic
#565717 #858723 #B5B830 #CFD253 #DDDF84

Accessibility & contrast

On white

2.13
#B5B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.86
#B5B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B830
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B830#FFFFFF#000000##000000
##B5B8301.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B012
Deuteranopia (green-blind)
#C8B33B
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b830;
/* rgb */ color: rgb(181, 184, 48);
/* oklch */ color: oklch(75.7% 0.151 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd73',
    500: '#b5b830',
    950: '#000000',
  },
}
SCSS
$custom: #b5b830;
$custom-light: #cfcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b830",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 61.324,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.75659,
    "c": 0.15077,
    "h": 110.8
  },
  "luminance": 0.44318
}

Semantic roles & 50–950 ramp

primary
#B5B830
secondary
#7D7CC8
accent
#46E249
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B830

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

Preview Lab → · Contrast checker → · Palette generator →

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