#B1B02A#B1B02A

#B1B02A is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.5% C 0.147 H 109.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#B1B02A
RGBrgb(177, 176, 42)
HSLhsl(60, 62%, 43%)
HSVhsv(60, 76%, 69%)
CMYKcmyk(0%, 0.6%, 76.3%, 30.6%)
CIE-LABlab(69.87, -14.93, 63.51)
CIE-LCHlch(69.87, 65.24, 103.23°)
OKLaboklab(73.52% -0.048 0.1389)
OKLCHoklch(73.52% 0.147 109.1)
XYZxyz(34.0760, 40.5660, 8.2251)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B02A #2A2BB1
analogous
#B16D2A #B1B02A #6EB12A
triadic
#B1B02A #2AB1B0 #B02AB1
tetradic
#B1B02A #2AB16D #2A2BB1 #B12A6E
square
#B1B02A #2AB16D #2A2BB1 #B12A6E
split-complementary
#B1B02A #2A6EB1 #6D2AB1
monochromatic
#4E4E13 #807F1E #B1B02A #D3D245 #DFDE77

Accessibility & contrast

On white

2.30
#B1B02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#B1B02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B02A
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B02A#FFFFFF#000000##000000
##B1B02A1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA806
Deuteranopia (green-blind)
#C0AD35
Tritanopia (blue-blind)
#BEA497
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b02a;
/* rgb */ color: rgb(177, 176, 42);
/* oklch */ color: oklch(73.5% 0.147 109.1);
Tailwind
colors: {
  custom: {
    50: '#ccc76f',
    500: '#b1b02a',
    950: '#000000',
  },
}
SCSS
$custom: #b1b02a;
$custom-light: #ccc76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b02a",
  "rgb": {
    "r": 177,
    "g": 176,
    "b": 42
  },
  "hsl": {
    "h": 59.556,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73515,
    "c": 0.14694,
    "h": 109.1
  },
  "luminance": 0.40565
}

Semantic roles & 50–950 ramp

primary
#B1B02A
secondary
#7071C6
accent
#44E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B02A

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

Preview Lab → · Contrast checker → · Palette generator →

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