#B4B130#B4B130

#B4B130 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.144 H 108.1°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B4B130
RGBrgb(180, 177, 48)
HSLhsl(59, 58%, 45%)
HSVhsv(59, 73%, 71%)
CMYKcmyk(0%, 1.7%, 73.3%, 29.4%)
CIE-LABlab(70.43, -13.89, 62.12)
CIE-LCHlch(70.43, 63.65, 102.60°)
OKLaboklab(74.03% -0.0447 0.1369)
OKLCHoklch(74.03% 0.144 108.1)
XYZxyz(35.0794, 41.3621, 8.9316)
Luminance0.4136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B130 #3033B4
analogous
#B46F30 #B4B130 #75B430
triadic
#B4B130 #30B4B1 #B130B4
tetradic
#B4B130 #30B46F #3033B4 #B43075
square
#B4B130 #30B46F #3033B4 #B43075
split-complementary
#B4B130 #3075B4 #6F30B4
monochromatic
#535216 #848123 #B4B130 #D1CE51 #DDDB81

Accessibility & contrast

On white

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

On black

9.27
#B4B130 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B130
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B130#FFFFFF#000000##000000
##B4B1301.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b130;
/* rgb */ color: rgb(180, 177, 48);
/* oklch */ color: oklch(74.0% 0.144 108.1);
Tailwind
colors: {
  custom: {
    50: '#cec872',
    500: '#b4b130',
    950: '#000000',
  },
}
SCSS
$custom: #b4b130;
$custom-light: #cec872;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b130",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 48
  },
  "hsl": {
    "h": 58.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74031,
    "c": 0.14403,
    "h": 108.1
  },
  "luminance": 0.41361
}

Semantic roles & 50–950 ramp

primary
#B4B130
secondary
#797BC6
accent
#4AE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B130

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

Preview Lab → · Contrast checker → · Palette generator →

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