#B4B129#B4B129

#B4B129 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.148 H 108.2°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#B4B129
RGBrgb(180, 177, 41)
HSLhsl(59, 63%, 43%)
HSVhsv(59, 77%, 71%)
CMYKcmyk(0%, 1.7%, 77.2%, 29.4%)
CIE-LABlab(70.39, -14.18, 64.39)
CIE-LCHlch(70.39, 65.93, 102.42°)
OKLaboklab(73.99% -0.0462 0.1404)
OKLCHoklch(73.99% 0.148 108.2)
XYZxyz(34.9462, 41.3088, 8.2300)
Luminance0.4131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B129 #292CB4
analogous
#B46B29 #B4B129 #71B429
triadic
#B4B129 #29B4B1 #B129B4
tetradic
#B4B129 #29B46B #292CB4 #B42971
square
#B4B129 #29B46B #292CB4 #B42971
split-complementary
#B4B129 #2971B4 #6B29B4
monochromatic
#504F12 #82801E #B4B129 #D5D245 #E0DE77

Accessibility & contrast

On white

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

On black

9.26
#B4B129 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B129
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B129#FFFFFF#000000##000000
##B4B1291.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b129;
/* rgb */ color: rgb(180, 177, 41);
/* oklch */ color: oklch(74.0% 0.148 108.2);
Tailwind
colors: {
  custom: {
    50: '#cec86f',
    500: '#b4b129',
    950: '#000000',
  },
}
SCSS
$custom: #b4b129;
$custom-light: #cec86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b129",
  "rgb": {
    "r": 180,
    "g": 177,
    "b": 41
  },
  "hsl": {
    "h": 58.705,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7399,
    "c": 0.14783,
    "h": 108.2
  },
  "luminance": 0.41308
}

Semantic roles & 50–950 ramp

primary
#B4B129
secondary
#7173C8
accent
#45E642
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B129

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

Preview Lab → · Contrast checker → · Palette generator →

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