#B4B01E#B4B01E

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

Color values

HEX#B4B01E
RGBrgb(180, 176, 30)
HSLhsl(58, 71%, 41%)
HSVhsv(58, 83%, 71%)
CMYKcmyk(0%, 2.2%, 83.3%, 29.4%)
CIE-LABlab(70.07, -14.04, 67.18)
CIE-LCHlch(70.07, 68.63, 101.80°)
OKLaboklab(73.72% -0.0466 0.1444)
OKLCHoklch(73.72% 0.152 107.9)
XYZxyz(34.5835, 40.8489, 7.2910)
Luminance0.4085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B01E #1E22B4
analogous
#B4651E #B4B01E #6DB41E
triadic
#B4B01E #1EB4B0 #B01EB4
tetradic
#B4B01E #1EB465 #1E22B4 #B41E6D
square
#B4B01E #1EB465 #1E22B4 #B41E6D
split-complementary
#B4B01E #1E6DB4 #651EB4
monochromatic
#4B490D #807D15 #B4B01E #DDD832 #E6E267

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B01E#FFFFFF#000000##000000
##B4B01E1.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)
#BFA900
Deuteranopia (green-blind)
#C2AD2D
Tritanopia (blue-blind)
#C2A496
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4b01e;
/* rgb */ color: rgb(180, 176, 30);
/* oklch */ color: oklch(73.7% 0.152 107.9);
Tailwind
colors: {
  custom: {
    50: '#cfc76a',
    500: '#b4b01e',
    950: '#000000',
  },
}
SCSS
$custom: #b4b01e;
$custom-light: #cfc76a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b01e",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 30
  },
  "hsl": {
    "h": 58.4,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.73718,
    "c": 0.15177,
    "h": 107.9
  },
  "luminance": 0.40848
}

Semantic roles & 50–950 ramp

primary
#B4B01E
secondary
#6366CB
accent
#3EEE3A
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B4B01E

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

Preview Lab → · Contrast checker → · Palette generator →

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