#B1B41C#B1B41C

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

Color values

HEX#B1B41C
RGBrgb(177, 180, 28)
HSLhsl(61, 73%, 41%)
HSVhsv(61, 84%, 71%)
CMYKcmyk(1.7%, 0%, 84.4%, 29.4%)
CIE-LABlab(70.92, -17.43, 68.27)
CIE-LCHlch(70.92, 70.46, 104.33°)
OKLaboklab(74.34% -0.056 0.1466)
OKLCHoklch(74.34% 0.157 110.9)
XYZxyz(34.6636, 42.0745, 7.3936)
Luminance0.4207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B41C #1F1CB4
analogous
#B46B1C #B1B41C #65B41C
triadic
#B1B41C #1CB1B4 #B41CB1
tetradic
#B1B41C #1CB46B #1F1CB4 #B41C65
square
#B1B41C #1CB46B #1F1CB4 #B41C65
split-complementary
#B1B41C #1C65B4 #6B1CB4
monochromatic
#494A0C #7D7F14 #B1B41C #DBDF2F #E4E764

Accessibility & contrast

On white

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

On black

9.41
#B1B41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B41C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B41C#FFFFFF#000000##000000
##B1B41C1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b41c;
/* rgb */ color: rgb(177, 180, 28);
/* oklch */ color: oklch(74.3% 0.157 110.9);
Tailwind
colors: {
  custom: {
    50: '#ccca6a',
    500: '#b1b41c',
    950: '#000000',
  },
}
SCSS
$custom: #b1b41c;
$custom-light: #ccca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b41c",
  "rgb": {
    "r": 177,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 61.184,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.74337,
    "c": 0.15694,
    "h": 110.9
  },
  "luminance": 0.42073
}

Semantic roles & 50–950 ramp

primary
#B1B41C
secondary
#6260CC
accent
#38F03C
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141307
muted
#83827A

Preview Lab

Preview with #B1B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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