#B4B02B#B4B02B

#B4B02B is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.8% C 0.146 H 107.7°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B4B02B
RGBrgb(180, 176, 43)
HSLhsl(58, 61%, 44%)
HSVhsv(58, 76%, 71%)
CMYKcmyk(0%, 2.2%, 76.1%, 29.4%)
CIE-LABlab(70.13, -13.59, 63.51)
CIE-LCHlch(70.13, 64.95, 102.08°)
OKLaboklab(73.78% -0.0444 0.1389)
OKLCHoklch(73.78% 0.146 107.7)
XYZxyz(34.7852, 40.9296, 8.3529)
Luminance0.4093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B02B #2B2FB4
analogous
#B46B2B #B4B02B #73B42B
triadic
#B4B02B #2BB4B0 #B02BB4
tetradic
#B4B02B #2BB46B #2B2FB4 #B42B73
square
#B4B02B #2BB46B #2B2FB4 #B42B73
split-complementary
#B4B02B #2B73B4 #6B2BB4
monochromatic
#514F13 #83801F #B4B02B #D3CF49 #DFDC7A

Accessibility & contrast

On white

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

On black

9.19
#B4B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B02B
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B02B#FFFFFF#000000##000000
##B4B02B1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA909
Deuteranopia (green-blind)
#C1AE36
Tritanopia (blue-blind)
#C1A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4b02b;
/* rgb */ color: rgb(180, 176, 43);
/* oklch */ color: oklch(73.8% 0.146 107.7);
Tailwind
colors: {
  custom: {
    50: '#cec76f',
    500: '#b4b02b',
    950: '#000000',
  },
}
SCSS
$custom: #b4b02b;
$custom-light: #cec76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b02b",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 58.248,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73781,
    "c": 0.14585,
    "h": 107.7
  },
  "luminance": 0.40928
}

Semantic roles & 50–950 ramp

primary
#B4B02B
secondary
#7376C7
accent
#48E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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