#B1B548#B1B548

#B1B548 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.9% C 0.132 H 111.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#B1B548
RGBrgb(177, 181, 72)
HSLhsl(62, 43%, 50%)
HSVhsv(62, 60%, 71%)
CMYKcmyk(2.2%, 0%, 60.2%, 29%)
CIE-LABlab(71.46, -15.81, 53.55)
CIE-LCHlch(71.46, 55.84, 106.45°)
OKLaboklab(74.85% -0.0475 0.1228)
OKLCHoklch(74.85% 0.132 111.2)
XYZxyz(35.8260, 42.8636, 12.5159)
Luminance0.4286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B548 #4C48B5
analogous
#B58348 #B1B548 #7BB548
triadic
#B1B548 #48B1B5 #B548B1
tetradic
#B1B548 #48B583 #4C48B5 #B5487B
square
#B1B548 #48B583 #4C48B5 #B5487B
split-complementary
#B1B548 #487BB5 #8348B5
monochromatic
#5B5D25 #868937 #B1B548 #C4C773 #D7D99F

Accessibility & contrast

On white

2.19
#B1B548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#B1B548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B548
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B548#FFFFFF#000000##000000
##B1B5481.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3B
Deuteranopia (green-blind)
#C3B14F
Tritanopia (blue-blind)
#BCAB9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b548;
/* rgb */ color: rgb(177, 181, 72);
/* oklch */ color: oklch(74.9% 0.132 111.2);
Tailwind
colors: {
  custom: {
    50: '#cbcb80',
    500: '#b1b548',
    950: '#000000',
  },
}
SCSS
$custom: #b1b548;
$custom-light: #cbcb80;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b548",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 62.202,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74852,
    "c": 0.13165,
    "h": 111.2
  },
  "luminance": 0.42863
}

Semantic roles & 50–950 ramp

primary
#B1B548
secondary
#9593C5
accent
#55D35A
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B1B548

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

Preview Lab → · Contrast checker → · Palette generator →

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