#B1B535#B1B535

#B1B535 is a light, vivid yellow. Relative luminance 0.427; 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#B1B535
RGBrgb(177, 181, 53)
HSLhsl(62, 55%, 46%)
HSVhsv(62, 71%, 71%)
CMYKcmyk(2.2%, 0%, 70.7%, 29%)
CIE-LABlab(71.32, -16.97, 61.10)
CIE-LCHlch(71.32, 63.41, 105.52°)
OKLaboklab(74.69% -0.0527 0.1357)
OKLCHoklch(74.69% 0.146 111.2)
XYZxyz(35.2991, 42.6528, 9.7408)
Luminance0.4265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B535 #3935B5
analogous
#B57935 #B1B535 #71B535
triadic
#B1B535 #35B1B5 #B535B1
tetradic
#B1B535 #35B579 #3935B5 #B53571
square
#B1B535 #35B579 #3935B5 #B53571
split-complementary
#B1B535 #3571B5 #7935B5
monochromatic
#545619 #838627 #B1B535 #CBCE59 #DADC88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B535#FFFFFF#000000##000000
##B1B5351.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)
#C3AD1F
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#BDAA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b1b535;
/* rgb */ color: rgb(177, 181, 53);
/* oklch */ color: oklch(74.7% 0.146 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb75',
    500: '#b1b535',
    950: '#000000',
  },
}
SCSS
$custom: #b1b535;
$custom-light: #cccb75;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b535",
  "rgb": {
    "r": 177,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 61.875,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74692,
    "c": 0.14563,
    "h": 111.2
  },
  "luminance": 0.42652
}

Semantic roles & 50–950 ramp

primary
#B1B535
secondary
#8280C6
accent
#4ADE4E
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B1B535

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

Preview Lab → · Contrast checker → · Palette generator →

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