#B4B41B#B4B41B

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

Color values

HEX#B4B41B
RGBrgb(180, 180, 27)
HSLhsl(60, 74%, 41%)
HSVhsv(60, 85%, 71%)
CMYKcmyk(0%, 0%, 85%, 29.4%)
CIE-LABlab(71.16, -16.16, 68.80)
CIE-LCHlch(71.16, 70.67, 103.22°)
OKLaboklab(74.59% -0.0527 0.1474)
OKLCHoklch(74.59% 0.157 109.7)
XYZxyz(35.3429, 42.4261, 7.3640)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B41B #1B1BB4
analogous
#B4671B #B4B41B #67B41B
triadic
#B4B41B #1BB4B4 #B41BB4
tetradic
#B4B41B #1BB467 #1B1BB4 #B41B67
square
#B4B41B #1BB467 #1B1BB4 #B41B67
split-complementary
#B4B41B #1B67B4 #671BB4
monochromatic
#4A4A0B #7F7F13 #B4B41B #DFDF2D #E7E762

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B41B#FFFFFF#000000##000000
##B4B41B1.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)
#C5B02C
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b41b;
/* rgb */ color: rgb(180, 180, 27);
/* oklch */ color: oklch(74.6% 0.157 109.7);
Tailwind
colors: {
  custom: {
    50: '#cfca6a',
    500: '#b4b41b',
    950: '#000000',
  },
}
SCSS
$custom: #b4b41b;
$custom-light: #cfca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b41b",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.74589,
    "c": 0.15657,
    "h": 109.7
  },
  "luminance": 0.42425
}

Semantic roles & 50–950 ramp

primary
#B4B41B
secondary
#5F5FCC
accent
#37F137
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B4B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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