#B1B020#B1B020

#B1B020 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.5% C 0.152 H 109.2°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#B1B020
RGBrgb(177, 176, 32)
HSLhsl(60, 69%, 41%)
HSVhsv(60, 82%, 69%)
CMYKcmyk(0%, 0.6%, 81.9%, 30.6%)
CIE-LABlab(69.83, -15.29, 66.37)
CIE-LCHlch(69.83, 68.11, 102.97°)
OKLaboklab(73.47% -0.0498 0.1432)
OKLCHoklch(73.47% 0.152 109.2)
XYZxyz(33.9189, 40.5032, 7.3974)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B020 #2021B1
analogous
#B16720 #B1B020 #69B120
triadic
#B1B020 #20B1B0 #B020B1
tetradic
#B1B020 #20B167 #2021B1 #B12069
square
#B1B020 #20B167 #2021B1 #B12069
split-complementary
#B1B020 #2069B1 #6720B1
monochromatic
#49490D #7D7C17 #B1B020 #DAD934 #E4E368

Accessibility & contrast

On white

2.31
#B1B020 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#B1B020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B020
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B020#FFFFFF#000000##000000
##B1B0201.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C1AD2E
Tritanopia (blue-blind)
#BEA496
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b020;
/* rgb */ color: rgb(177, 176, 32);
/* oklch */ color: oklch(73.5% 0.152 109.2);
Tailwind
colors: {
  custom: {
    50: '#ccc76b',
    500: '#b1b020',
    950: '#000000',
  },
}
SCSS
$custom: #b1b020;
$custom-light: #ccc76b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b020",
  "rgb": {
    "r": 177,
    "g": 176,
    "b": 32
  },
  "hsl": {
    "h": 59.586,
    "s": 69.378,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73465,
    "c": 0.15158,
    "h": 109.2
  },
  "luminance": 0.40502
}

Semantic roles & 50–950 ramp

primary
#B1B020
secondary
#6464C9
accent
#3DEC3C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B020

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

Preview Lab → · Contrast checker → · Palette generator →

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