#B1B545#B1B545

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

Color values

HEX#B1B545
RGBrgb(177, 181, 69)
HSLhsl(62, 45%, 49%)
HSVhsv(62, 62%, 71%)
CMYKcmyk(2.2%, 0%, 61.9%, 29%)
CIE-LABlab(71.44, -16.02, 54.83)
CIE-LCHlch(71.44, 57.12, 106.29°)
OKLaboklab(74.82% -0.0484 0.1251)
OKLCHoklch(74.82% 0.134 111.2)
XYZxyz(35.7305, 42.8254, 12.0130)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B545 #4945B5
analogous
#B58145 #B1B545 #79B545
triadic
#B1B545 #45B1B5 #B545B1
tetradic
#B1B545 #45B581 #4945B5 #B54579
square
#B1B545 #45B581 #4945B5 #B54579
split-complementary
#B1B545 #4579B5 #8145B5
monochromatic
#5A5C23 #868934 #B1B545 #C5C86F #D7D99B

Accessibility & contrast

On white

2.20
#B1B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B545#FFFFFF#000000##000000
##B1B5451.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#C3B04C
Tritanopia (blue-blind)
#BDAA9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b545;
/* rgb */ color: rgb(177, 181, 69);
/* oklch */ color: oklch(74.8% 0.134 111.2);
Tailwind
colors: {
  custom: {
    50: '#cbcb7e',
    500: '#b1b545',
    950: '#000000',
  },
}
SCSS
$custom: #b1b545;
$custom-light: #cbcb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b545",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 62.143,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74823,
    "c": 0.1341,
    "h": 111.2
  },
  "luminance": 0.42825
}

Semantic roles & 50–950 ramp

primary
#B1B545
secondary
#9291C5
accent
#53D558
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B1B545

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

Preview Lab → · Contrast checker → · Palette generator →

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