#B1B536#B1B536

#B1B536 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.7% C 0.145 H 111.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B1B536
RGBrgb(177, 181, 54)
HSLhsl(62, 54%, 46%)
HSVhsv(62, 70%, 71%)
CMYKcmyk(2.2%, 0%, 70.2%, 29%)
CIE-LABlab(71.33, -16.92, 60.74)
CIE-LCHlch(71.33, 63.05, 105.57°)
OKLaboklab(74.7% -0.0525 0.1352)
OKLCHoklch(74.7% 0.145 111.2)
XYZxyz(35.3223, 42.6621, 9.8632)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B536 #3A36B5
analogous
#B57936 #B1B536 #71B536
triadic
#B1B536 #36B1B5 #B536B1
tetradic
#B1B536 #36B579 #3A36B5 #B53671
square
#B1B536 #36B579 #3A36B5 #B53671
split-complementary
#B1B536 #3671B5 #7936B5
monochromatic
#55571A #838628 #B1B536 #CACE5A #D9DC89

Accessibility & contrast

On white

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

On black

9.53
#B1B536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B536
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B536#FFFFFF#000000##000000
##B1B5361.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD21
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#BDAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b536;
/* rgb */ color: rgb(177, 181, 54);
/* oklch */ color: oklch(74.7% 0.145 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb75',
    500: '#b1b536',
    950: '#000000',
  },
}
SCSS
$custom: #b1b536;
$custom-light: #cccb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b536",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 61.89,
    "s": 54.043,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74699,
    "c": 0.14499,
    "h": 111.2
  },
  "luminance": 0.42661
}

Semantic roles & 50–950 ramp

primary
#B1B536
secondary
#8381C6
accent
#4ADD4F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B536

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

Preview Lab → · Contrast checker → · Palette generator →

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