#B1B331#B1B331

#B1B331 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.146 H 110.4°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#B1B331
RGBrgb(177, 179, 49)
HSLhsl(61, 57%, 45%)
HSVhsv(61, 73%, 70%)
CMYKcmyk(1.1%, 0%, 72.6%, 29.8%)
CIE-LABlab(70.74, -16.16, 61.98)
CIE-LCHlch(70.74, 64.05, 104.61°)
OKLaboklab(74.22% -0.0508 0.1369)
OKLCHoklch(74.22% 0.146 110.4)
XYZxyz(34.8071, 41.8100, 9.1417)
Luminance0.4181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B331 #3331B3
analogous
#B37431 #B1B331 #70B331
triadic
#B1B331 #31B1B3 #B331B1
tetradic
#B1B331 #31B374 #3331B3 #B33170
square
#B1B331 #31B374 #3331B3 #B33170
split-complementary
#B1B331 #3170B3 #7431B3
monochromatic
#525317 #818324 #B1B331 #CED052 #DBDD82

Accessibility & contrast

On white

2.24
#B1B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#B1B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B331
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B331#FFFFFF#000000##000000
##B1B3311.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB18
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#BEA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b331;
/* rgb */ color: rgb(177, 179, 49);
/* oklch */ color: oklch(74.2% 0.146 110.4);
Tailwind
colors: {
  custom: {
    50: '#ccc973',
    500: '#b1b331',
    950: '#000000',
  },
}
SCSS
$custom: #b1b331;
$custom-light: #ccc973;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b331",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 60.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74221,
    "c": 0.14602,
    "h": 110.4
  },
  "luminance": 0.41809
}

Semantic roles & 50–950 ramp

primary
#B1B331
secondary
#7B7AC6
accent
#48E04A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B1B331

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

Preview Lab → · Contrast checker → · Palette generator →

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