#B4B41E#B4B41E

#B4B41E is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.6% C 0.155 H 109.6°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#B4B41E
RGBrgb(180, 180, 30)
HSLhsl(60, 71%, 41%)
HSVhsv(60, 83%, 71%)
CMYKcmyk(0%, 0%, 83.3%, 29.4%)
CIE-LABlab(71.17, -16.08, 68.11)
CIE-LCHlch(71.17, 69.98, 103.28°)
OKLaboklab(74.6% -0.0523 0.1465)
OKLCHoklch(74.6% 0.156 109.6)
XYZxyz(35.3794, 42.4407, 7.5563)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B41E #1E1EB4
analogous
#B4691E #B4B41E #69B41E
triadic
#B4B41E #1EB4B4 #B41EB4
tetradic
#B4B41E #1EB469 #1E1EB4 #B41E69
square
#B4B41E #1EB469 #1E1EB4 #B41E69
split-complementary
#B4B41E #1E69B4 #691EB4
monochromatic
#4B4B0D #808015 #B4B41E #DDDD32 #E6E667

Accessibility & contrast

On white

2.21
#B4B41E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#B4B41E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B41E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B41E#FFFFFF#000000##000000
##B4B41E1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C5B02E
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b41e;
/* rgb */ color: rgb(180, 180, 30);
/* oklch */ color: oklch(74.6% 0.155 109.6);
Tailwind
colors: {
  custom: {
    50: '#cfca6b',
    500: '#b4b41e',
    950: '#000000',
  },
}
SCSS
$custom: #b4b41e;
$custom-light: #cfca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b41e",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.746,
    "c": 0.1555,
    "h": 109.6
  },
  "luminance": 0.4244
}

Semantic roles & 50–950 ramp

primary
#B4B41E
secondary
#6363CB
accent
#3AEE3A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B4B41E

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

Preview Lab → · Contrast checker → · Palette generator →

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