#B1B22E#B1B22E

#B1B22E is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.147 H 110.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#B1B22E
RGBrgb(177, 178, 46)
HSLhsl(60, 59%, 44%)
HSVhsv(60, 74%, 70%)
CMYKcmyk(0.6%, 0%, 74.2%, 30.2%)
CIE-LABlab(70.45, -15.78, 62.73)
CIE-LCHlch(70.45, 64.68, 104.12°)
OKLaboklab(73.98% -0.0501 0.1379)
OKLCHoklch(73.98% 0.147 110)
XYZxyz(34.5462, 41.3862, 8.7528)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B22E #2F2EB2
analogous
#B2712E #B1B22E #6FB22E
triadic
#B1B22E #2EB1B2 #B22EB1
tetradic
#B1B22E #2EB271 #2F2EB2 #B22E6F
square
#B1B22E #2EB271 #2F2EB2 #B22E6F
split-complementary
#B1B22E #2E6FB2 #712EB2
monochromatic
#505115 #818121 #B1B22E #D0D14C #DDDD7D

Accessibility & contrast

On white

2.26
#B1B22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#B1B22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B22E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B22E#FFFFFF#000000##000000
##B1B22E1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA11
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#BEA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1b22e;
/* rgb */ color: rgb(177, 178, 46);
/* oklch */ color: oklch(74.0% 0.147 110.0);
Tailwind
colors: {
  custom: {
    50: '#ccc871',
    500: '#b1b22e',
    950: '#000000',
  },
}
SCSS
$custom: #b1b22e;
$custom-light: #ccc871;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b22e",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 60.455,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73981,
    "c": 0.14675,
    "h": 110
  },
  "luminance": 0.41385
}

Semantic roles & 50–950 ramp

primary
#B1B22E
secondary
#7676C6
accent
#46E247
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B22E

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

Preview Lab → · Contrast checker → · Palette generator →

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