#B1B41E#B1B41E

#B1B41E 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#B1B41E
RGBrgb(177, 180, 30)
HSLhsl(61, 71%, 41%)
HSVhsv(61, 83%, 71%)
CMYKcmyk(1.7%, 0%, 83.3%, 29.4%)
CIE-LABlab(70.93, -17.38, 67.81)
CIE-LCHlch(70.93, 70.00, 104.38°)
OKLaboklab(74.34% -0.0557 0.1459)
OKLCHoklch(74.34% 0.156 110.9)
XYZxyz(34.6884, 42.0844, 7.5239)
Luminance0.4208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B41E #211EB4
analogous
#B46C1E #B1B41E #66B41E
triadic
#B1B41E #1EB1B4 #B41EB1
tetradic
#B1B41E #1EB46C #211EB4 #B41E66
square
#B1B41E #1EB46C #211EB4 #B41E66
split-complementary
#B1B41E #1E66B4 #6C1EB4
monochromatic
#4A4B0D #7D8015 #B1B41E #D9DD32 #E3E667

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B41E#FFFFFF#000000##000000
##B1B41E1.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: #b1b41e;
/* rgb */ color: rgb(177, 180, 30);
/* oklch */ color: oklch(74.3% 0.156 110.9);
Tailwind
colors: {
  custom: {
    50: '#ccca6b',
    500: '#b1b41e',
    950: '#000000',
  },
}
SCSS
$custom: #b1b41e;
$custom-light: #ccca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b41e",
  "rgb": {
    "r": 177,
    "g": 180,
    "b": 30
  },
  "hsl": {
    "h": 61.2,
    "s": 71.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.74344,
    "c": 0.15621,
    "h": 110.9
  },
  "luminance": 0.42083
}

Semantic roles & 50–950 ramp

primary
#B1B41E
secondary
#6563CB
accent
#3AEE3D
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B41E

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

Preview Lab → · Contrast checker → · Palette generator →

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