#B1B01F#B1B01F

#B1B01F 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#B1B01F
RGBrgb(177, 176, 31)
HSLhsl(60, 70%, 41%)
HSVhsv(60, 82%, 69%)
CMYKcmyk(0%, 0.6%, 82.5%, 30.6%)
CIE-LABlab(69.82, -15.32, 66.62)
CIE-LCHlch(69.82, 68.36, 102.95°)
OKLaboklab(73.46% -0.05 0.1435)
OKLCHoklch(73.46% 0.152 109.2)
XYZxyz(33.9055, 40.4978, 7.3269)
Luminance0.4050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B01F #1F20B1
analogous
#B1671F #B1B01F #69B11F
triadic
#B1B01F #1FB1B0 #B01FB1
tetradic
#B1B01F #1FB167 #1F20B1 #B11F69
square
#B1B01F #1FB167 #1F20B1 #B11F69
split-complementary
#B1B01F #1F69B1 #671FB1
monochromatic
#49480D #7D7C16 #B1B01F #DBDA32 #E4E366

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B01F#FFFFFF#000000##000000
##B1B01F1.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)
#C1AD2D
Tritanopia (blue-blind)
#BEA496
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b1b01f;
/* rgb */ color: rgb(177, 176, 31);
/* oklch */ color: oklch(73.5% 0.152 109.2);
Tailwind
colors: {
  custom: {
    50: '#ccc76a',
    500: '#b1b01f',
    950: '#000000',
  },
}
SCSS
$custom: #b1b01f;
$custom-light: #ccc76a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b01f",
  "rgb": {
    "r": 177,
    "g": 176,
    "b": 31
  },
  "hsl": {
    "h": 59.589,
    "s": 70.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.73461,
    "c": 0.15198,
    "h": 109.2
  },
  "luminance": 0.40497
}

Semantic roles & 50–950 ramp

primary
#B1B01F
secondary
#6263CA
accent
#3CED3B
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B01F

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

Preview Lab → · Contrast checker → · Palette generator →

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