#B1B534#B1B534

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

Color values

HEX#B1B534
RGBrgb(177, 181, 52)
HSLhsl(62, 55%, 46%)
HSVhsv(62, 71%, 71%)
CMYKcmyk(2.2%, 0%, 71.3%, 29%)
CIE-LABlab(71.31, -17.02, 61.46)
CIE-LCHlch(71.31, 63.77, 105.48°)
OKLaboklab(74.69% -0.053 0.1363)
OKLCHoklch(74.69% 0.146 111.2)
XYZxyz(35.2763, 42.6437, 9.6209)
Luminance0.4264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B534 #3834B5
analogous
#B57834 #B1B534 #71B534
triadic
#B1B534 #34B1B5 #B534B1
tetradic
#B1B534 #34B578 #3834B5 #B53471
square
#B1B534 #34B578 #3834B5 #B53471
split-complementary
#B1B534 #3471B5 #7834B5
monochromatic
#545619 #838526 #B1B534 #CBCF57 #DADC87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B534#FFFFFF#000000##000000
##B1B5341.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)
#C3AD1D
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#BDAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b534;
/* rgb */ color: rgb(177, 181, 52);
/* oklch */ color: oklch(74.7% 0.146 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb74',
    500: '#b1b534',
    950: '#000000',
  },
}
SCSS
$custom: #b1b534;
$custom-light: #cccb74;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b534",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 61.86,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74685,
    "c": 0.14625,
    "h": 111.2
  },
  "luminance": 0.42643
}

Semantic roles & 50–950 ramp

primary
#B1B534
secondary
#817FC6
accent
#49DF4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B534

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

Preview Lab → · Contrast checker → · Palette generator →

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