#B5B130#B5B130

#B5B130 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.144 H 107.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B5B130
RGBrgb(181, 177, 48)
HSLhsl(58, 58%, 45%)
HSVhsv(58, 73%, 71%)
CMYKcmyk(0%, 2.2%, 73.5%, 29%)
CIE-LABlab(70.51, -13.45, 62.22)
CIE-LCHlch(70.51, 63.66, 102.20°)
OKLaboklab(74.12% -0.0436 0.1371)
OKLCHoklch(74.12% 0.144 107.6)
XYZxyz(35.3131, 41.4826, 8.9425)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B130 #3034B5
analogous
#B56E30 #B5B130 #77B530
triadic
#B5B130 #30B5B1 #B130B5
tetradic
#B5B130 #30B56E #3034B5 #B53077
square
#B5B130 #30B56E #3034B5 #B53077
split-complementary
#B5B130 #3077B5 #6E30B5
monochromatic
#545216 #858223 #B5B130 #D1CD51 #DEDB82

Accessibility & contrast

On white

2.26
#B5B130 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B5B130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B130
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B130#FFFFFF#000000##000000
##B5B1301.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b130;
/* rgb */ color: rgb(181, 177, 48);
/* oklch */ color: oklch(74.1% 0.144 107.6);
Tailwind
colors: {
  custom: {
    50: '#cfc872',
    500: '#b5b130',
    950: '#000000',
  },
}
SCSS
$custom: #b5b130;
$custom-light: #cfc872;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b130",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 58.195,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74118,
    "c": 0.14385,
    "h": 107.6
  },
  "luminance": 0.41481
}

Semantic roles & 50–950 ramp

primary
#B5B130
secondary
#7A7CC7
accent
#4BE146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B130

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

Preview Lab → · Contrast checker → · Palette generator →

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