#B1B831#B1B831

#B1B831 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.3% C 0.151 H 112.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B1B831
RGBrgb(177, 184, 49)
HSLhsl(63, 58%, 46%)
HSVhsv(63, 73%, 72%)
CMYKcmyk(3.8%, 0%, 73.4%, 27.8%)
CIE-LABlab(72.13, -18.68, 63.30)
CIE-LCHlch(72.13, 66.00, 106.44°)
OKLaboklab(75.33% -0.0579 0.1397)
OKLCHoklch(75.33% 0.151 112.5)
XYZxyz(35.8275, 43.8507, 9.4819)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B831 #3831B8
analogous
#B87B31 #B1B831 #6DB831
triadic
#B1B831 #31B1B8 #B831B1
tetradic
#B1B831 #31B87B #3831B8 #B8316D
square
#B1B831 #31B87B #3831B8 #B8316D
split-complementary
#B1B831 #316DB8 #7B31B8
monochromatic
#545717 #838824 #B1B831 #CBD255 #DADE85

Accessibility & contrast

On white

2.15
#B1B831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B1B831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B831
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B831#FFFFFF#000000##000000
##B1B8311.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#BDAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b1b831;
/* rgb */ color: rgb(177, 184, 49);
/* oklch */ color: oklch(75.3% 0.151 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd73',
    500: '#b1b831',
    950: '#000000',
  },
}
SCSS
$custom: #b1b831;
$custom-light: #cccd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b831",
  "rgb": {
    "r": 177,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 63.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75332,
    "c": 0.15119,
    "h": 112.5
  },
  "luminance": 0.4385
}

Semantic roles & 50–950 ramp

primary
#B1B831
secondary
#817DC8
accent
#47E14F
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B1B831

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

Preview Lab → · Contrast checker → · Palette generator →

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