#B1B82F#B1B82F

#B1B82F is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.3% C 0.152 H 112.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B1B82F
RGBrgb(177, 184, 47)
HSLhsl(63, 59%, 45%)
HSVhsv(63, 74%, 72%)
CMYKcmyk(3.8%, 0%, 74.5%, 27.8%)
CIE-LABlab(72.12, -18.77, 63.96)
CIE-LCHlch(72.12, 66.66, 106.36°)
OKLaboklab(75.32% -0.0583 0.1407)
OKLCHoklch(75.32% 0.152 112.5)
XYZxyz(35.7862, 43.8342, 9.2645)
Luminance0.4383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B82F #362FB8
analogous
#B87B2F #B1B82F #6CB82F
triadic
#B1B82F #2FB1B8 #B82FB1
tetradic
#B1B82F #2FB87B #362FB8 #B82F6C
square
#B1B82F #2FB87B #362FB8 #B82F6C
split-complementary
#B1B82F #2F6CB8 #7B2FB8
monochromatic
#535716 #828723 #B1B82F #CCD352 #DADF82

Accessibility & contrast

On white

2.15
#B1B82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B1B82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B82F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B82F#FFFFFF#000000##000000
##B1B82F1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF10
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#BDAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b1b82f;
/* rgb */ color: rgb(177, 184, 47);
/* oklch */ color: oklch(75.3% 0.152 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd72',
    500: '#b1b82f',
    950: '#000000',
  },
}
SCSS
$custom: #b1b82f;
$custom-light: #cccd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b82f",
  "rgb": {
    "r": 177,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 63.066,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7532,
    "c": 0.15233,
    "h": 112.5
  },
  "luminance": 0.43833
}

Semantic roles & 50–950 ramp

primary
#B1B82F
secondary
#7F7BC8
accent
#45E24D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B1B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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