#B1B337#B1B337

#B1B337 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.3% C 0.142 H 110.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B1B337
RGBrgb(177, 179, 55)
HSLhsl(61, 53%, 46%)
HSVhsv(61, 69%, 70%)
CMYKcmyk(1.1%, 0%, 69.3%, 29.8%)
CIE-LABlab(70.78, -15.85, 59.82)
CIE-LCHlch(70.78, 61.89, 104.84°)
OKLaboklab(74.26% -0.0494 0.1334)
OKLCHoklch(74.26% 0.142 110.3)
XYZxyz(34.9423, 41.8641, 9.8536)
Luminance0.4186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B337 #3937B3
analogous
#B37737 #B1B337 #73B337
triadic
#B1B337 #37B1B3 #B337B1
tetradic
#B1B337 #37B377 #3937B3 #B33773
square
#B1B337 #37B377 #3937B3 #B33773
split-complementary
#B1B337 #3773B3 #7737B3
monochromatic
#54551A #838429 #B1B337 #CBCD5B #DADB8A

Accessibility & contrast

On white

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

On black

9.37
#B1B337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B337
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B337#FFFFFF#000000##000000
##B1B3371.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB23
Deuteranopia (green-blind)
#C2AF40
Tritanopia (blue-blind)
#BDA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b337;
/* rgb */ color: rgb(177, 179, 55);
/* oklch */ color: oklch(74.3% 0.142 110.3);
Tailwind
colors: {
  custom: {
    50: '#ccc976',
    500: '#b1b337',
    950: '#000000',
  },
}
SCSS
$custom: #b1b337;
$custom-light: #ccc976;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b337",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 60.968,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74263,
    "c": 0.14225,
    "h": 110.3
  },
  "luminance": 0.41863
}

Semantic roles & 50–950 ramp

primary
#B1B337
secondary
#8281C5
accent
#4BDC4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B337

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

Preview Lab → · Contrast checker → · Palette generator →

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