#B4B01B#B4B01B

#B4B01B is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.153 H 107.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B4B01B
RGBrgb(180, 176, 27)
HSLhsl(58, 74%, 41%)
HSVhsv(58, 85%, 71%)
CMYKcmyk(0%, 2.2%, 85%, 29.4%)
CIE-LABlab(70.06, -14.12, 67.88)
CIE-LCHlch(70.06, 69.34, 101.75°)
OKLaboklab(73.71% -0.047 0.1454)
OKLCHoklch(73.71% 0.153 107.9)
XYZxyz(34.5470, 40.8343, 7.0987)
Luminance0.4083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B01B #1B1FB4
analogous
#B4631B #B4B01B #6CB41B
triadic
#B4B01B #1BB4B0 #B01BB4
tetradic
#B4B01B #1BB463 #1B1FB4 #B41B6C
square
#B4B01B #1BB463 #1B1FB4 #B41B6C
split-complementary
#B4B01B #1B6CB4 #631BB4
monochromatic
#4A480B #7F7C13 #B4B01B #DFDB2D #E7E462

Accessibility & contrast

On white

2.29
#B4B01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#B4B01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B01B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B01B#FFFFFF#000000##000000
##B4B01B1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#C2AD2B
Tritanopia (blue-blind)
#C2A496
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4b01b;
/* rgb */ color: rgb(180, 176, 27);
/* oklch */ color: oklch(73.7% 0.153 107.9);
Tailwind
colors: {
  custom: {
    50: '#cfc769',
    500: '#b4b01b',
    950: '#000000',
  },
}
SCSS
$custom: #b4b01b;
$custom-light: #cfc769;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b01b",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 27
  },
  "hsl": {
    "h": 58.431,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.73707,
    "c": 0.15285,
    "h": 107.9
  },
  "luminance": 0.40833
}

Semantic roles & 50–950 ramp

primary
#B4B01B
secondary
#5F62CC
accent
#3CF137
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B4B01B

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

Preview Lab → · Contrast checker → · Palette generator →

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