#B4B01D#B4B01D

#B4B01D 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#B4B01D
RGBrgb(180, 176, 29)
HSLhsl(58, 72%, 41%)
HSVhsv(58, 84%, 71%)
CMYKcmyk(0%, 2.2%, 83.9%, 29.4%)
CIE-LABlab(70.07, -14.06, 67.42)
CIE-LCHlch(70.07, 68.87, 101.78°)
OKLaboklab(73.71% -0.0468 0.1448)
OKLCHoklch(73.71% 0.152 107.9)
XYZxyz(34.5710, 40.8439, 7.2248)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B01D #1D21B4
analogous
#B4651D #B4B01D #6CB41D
triadic
#B4B01D #1DB4B0 #B01DB4
tetradic
#B4B01D #1DB465 #1D21B4 #B41D6C
square
#B4B01D #1DB465 #1D21B4 #B41D6C
split-complementary
#B4B01D #1D6CB4 #651DB4
monochromatic
#4B490C #7F7C15 #B4B01D #DED930 #E6E365

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B01D#FFFFFF#000000##000000
##B4B01D1.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)
#C2AD2C
Tritanopia (blue-blind)
#C2A496
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4b01d;
/* rgb */ color: rgb(180, 176, 29);
/* oklch */ color: oklch(73.7% 0.152 107.9);
Tailwind
colors: {
  custom: {
    50: '#cfc76a',
    500: '#b4b01d',
    950: '#000000',
  },
}
SCSS
$custom: #b4b01d;
$custom-light: #cfc76a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b01d",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 29
  },
  "hsl": {
    "h": 58.411,
    "s": 72.249,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73714,
    "c": 0.15214,
    "h": 107.9
  },
  "luminance": 0.40843
}

Semantic roles & 50–950 ramp

primary
#B4B01D
secondary
#6164CB
accent
#3EEF39
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B4B01D

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

Preview Lab → · Contrast checker → · Palette generator →

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