#B1B334#B1B334

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

Color values

HEX#B1B334
RGBrgb(177, 179, 52)
HSLhsl(61, 55%, 45%)
HSVhsv(61, 71%, 70%)
CMYKcmyk(1.1%, 0%, 70.9%, 29.8%)
CIE-LABlab(70.76, -16.01, 60.92)
CIE-LCHlch(70.76, 62.99, 104.72°)
OKLaboklab(74.24% -0.0501 0.1352)
OKLCHoklch(74.24% 0.144 110.3)
XYZxyz(34.8726, 41.8362, 9.4864)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B334 #3634B3
analogous
#B37534 #B1B334 #71B334
triadic
#B1B334 #34B1B3 #B334B1
tetradic
#B1B334 #34B375 #3634B3 #B33471
square
#B1B334 #34B375 #3634B3 #B33471
split-complementary
#B1B334 #3471B3 #7534B3
monochromatic
#535418 #828426 #B1B334 #CCCE56 #DADC86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B334#FFFFFF#000000##000000
##B1B3341.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)
#C1AB1E
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#BDA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b1b334;
/* rgb */ color: rgb(177, 179, 52);
/* oklch */ color: oklch(74.2% 0.144 110.3);
Tailwind
colors: {
  custom: {
    50: '#ccc974',
    500: '#b1b334',
    950: '#000000',
  },
}
SCSS
$custom: #b1b334;
$custom-light: #ccc974;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b334",
  "rgb": {
    "r": 177,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 60.945,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74241,
    "c": 0.14419,
    "h": 110.3
  },
  "luminance": 0.41835
}

Semantic roles & 50–950 ramp

primary
#B1B334
secondary
#7F7DC5
accent
#49DE4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B334

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

Preview Lab → · Contrast checker → · Palette generator →

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