#B4B02E#B4B02E

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

Color values

HEX#B4B02E
RGBrgb(180, 176, 46)
HSLhsl(58, 59%, 44%)
HSVhsv(58, 74%, 71%)
CMYKcmyk(0%, 2.2%, 74.4%, 29.4%)
CIE-LABlab(70.14, -13.46, 62.53)
CIE-LCHlch(70.14, 63.97, 102.15°)
OKLaboklab(73.8% -0.0437 0.1374)
OKLCHoklch(73.8% 0.144 107.7)
XYZxyz(34.8422, 40.9524, 8.6535)
Luminance0.4095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B02E #2E32B4
analogous
#B46D2E #B4B02E #75B42E
triadic
#B4B02E #2EB4B0 #B02EB4
tetradic
#B4B02E #2EB46D #2E32B4 #B42E75
square
#B4B02E #2EB46D #2E32B4 #B42E75
split-complementary
#B4B02E #2E75B4 #6D2EB4
monochromatic
#535115 #838022 #B4B02E #D2CE4E #DEDB7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B02E#FFFFFF#000000##000000
##B4B02E1.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)
#BFA912
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#C1A497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b4b02e;
/* rgb */ color: rgb(180, 176, 46);
/* oklch */ color: oklch(73.8% 0.144 107.7);
Tailwind
colors: {
  custom: {
    50: '#cec771',
    500: '#b4b02e',
    950: '#000000',
  },
}
SCSS
$custom: #b4b02e;
$custom-light: #cec771;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b02e",
  "rgb": {
    "r": 180,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 58.209,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73799,
    "c": 0.1442,
    "h": 107.7
  },
  "luminance": 0.40951
}

Semantic roles & 50–950 ramp

primary
#B4B02E
secondary
#7779C7
accent
#4AE245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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