#B1B41F#B1B41F

#B1B41F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.3% C 0.156 H 110.9°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B1B41F
RGBrgb(177, 180, 31)
HSLhsl(61, 71%, 41%)
HSVhsv(61, 83%, 71%)
CMYKcmyk(1.7%, 0%, 82.8%, 29.4%)
CIE-LABlab(70.93, -17.35, 67.56)
CIE-LCHlch(70.93, 69.76, 104.40°)
OKLaboklab(74.35% -0.0556 0.1456)
OKLCHoklch(74.35% 0.156 110.9)
XYZxyz(34.7013, 42.0895, 7.5922)
Luminance0.4209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B41F #221FB4
analogous
#B46D1F #B1B41F #67B41F
triadic
#B1B41F #1FB1B4 #B41FB1
tetradic
#B1B41F #1FB46D #221FB4 #B41F67
square
#B1B41F #1FB46D #221FB4 #B41F67
split-complementary
#B1B41F #1F67B4 #6D1FB4
monochromatic
#4A4C0D #7E8016 #B1B41F #D9DC34 #E3E568

Accessibility & contrast

On white

2.23
#B1B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#B1B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B41F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B41F#FFFFFF#000000##000000
##B1B41F1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C4AF2E
Tritanopia (blue-blind)
#BEA89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b1b41f;
/* rgb */ color: rgb(177, 180, 31);
/* oklch */ color: oklch(74.3% 0.156 110.9);
Tailwind
colors: {
  custom: {
    50: '#ccca6b',
    500: '#b1b41f',
    950: '#000000',
  },
}
SCSS
$custom: #b1b41f;
$custom-light: #ccca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b41f",
  "rgb": {
    "r": 177,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 61.208,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.74348,
    "c": 0.15583,
    "h": 110.9
  },
  "luminance": 0.42089
}

Semantic roles & 50–950 ramp

primary
#B1B41F
secondary
#6664CB
accent
#3AED3E
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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