#B1B232#B1B232

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

Color values

HEX#B1B232
RGBrgb(177, 178, 50)
HSLhsl(60, 56%, 45%)
HSVhsv(60, 72%, 70%)
CMYKcmyk(0.6%, 0%, 71.9%, 30.2%)
CIE-LABlab(70.47, -15.60, 61.36)
CIE-LCHlch(70.47, 63.31, 104.26°)
OKLaboklab(74.01% -0.0492 0.1358)
OKLCHoklch(74.01% 0.144 109.9)
XYZxyz(34.6288, 41.4192, 9.1876)
Luminance0.4142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B232 #3332B2
analogous
#B27332 #B1B232 #71B232
triadic
#B1B232 #32B1B2 #B232B1
tetradic
#B1B232 #32B273 #3332B2 #B23271
square
#B1B232 #32B273 #3332B2 #B23271
split-complementary
#B1B232 #3271B2 #7332B2
monochromatic
#525217 #818225 #B1B232 #CECF53 #DBDC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B232#FFFFFF#000000##000000
##B1B2321.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)
#C0AA1A
Deuteranopia (green-blind)
#C2AE3C
Tritanopia (blue-blind)
#BEA799
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b1b232;
/* rgb */ color: rgb(177, 178, 50);
/* oklch */ color: oklch(74.0% 0.144 109.9);
Tailwind
colors: {
  custom: {
    50: '#ccc873',
    500: '#b1b232',
    950: '#000000',
  },
}
SCSS
$custom: #b1b232;
$custom-light: #ccc873;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b232",
  "rgb": {
    "r": 177,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 60.469,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.1444,
    "h": 109.9
  },
  "luminance": 0.41418
}

Semantic roles & 50–950 ramp

primary
#B1B232
secondary
#7B7BC5
accent
#48DF4A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B232

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

Preview Lab → · Contrast checker → · Palette generator →

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