#B1B42E#B1B42E

#B1B42E is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.4% C 0.149 H 110.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#B1B42E
RGBrgb(177, 180, 46)
HSLhsl(61, 59%, 44%)
HSVhsv(61, 74%, 71%)
CMYKcmyk(1.7%, 0%, 74.4%, 29.4%)
CIE-LABlab(71.00, -16.80, 63.25)
CIE-LCHlch(71.00, 65.44, 104.88°)
OKLaboklab(74.42% -0.0529 0.139)
OKLCHoklch(74.42% 0.149 110.8)
XYZxyz(34.9471, 42.1878, 8.8864)
Luminance0.4219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B42E #312EB4
analogous
#B4742E #B1B42E #6EB42E
triadic
#B1B42E #2EB1B4 #B42EB1
tetradic
#B1B42E #2EB474 #312EB4 #B42E6E
square
#B1B42E #2EB474 #312EB4 #B42E6E
split-complementary
#B1B42E #2E6EB4 #742EB4
monochromatic
#515315 #818322 #B1B42E #CFD24E #DCDE7E

Accessibility & contrast

On white

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

On black

9.44
#B1B42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B42E
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B42E#FFFFFF#000000##000000
##B1B42E1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#BEA99B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b1b42e;
/* rgb */ color: rgb(177, 180, 46);
/* oklch */ color: oklch(74.4% 0.149 110.8);
Tailwind
colors: {
  custom: {
    50: '#ccca71',
    500: '#b1b42e',
    950: '#000000',
  },
}
SCSS
$custom: #b1b42e;
$custom-light: #ccca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b42e",
  "rgb": {
    "r": 177,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 61.343,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74424,
    "c": 0.14876,
    "h": 110.8
  },
  "luminance": 0.42187
}

Semantic roles & 50–950 ramp

primary
#B1B42E
secondary
#7977C7
accent
#45E249
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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