#B1B82D#B1B82D

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

Color values

HEX#B1B82D
RGBrgb(177, 184, 45)
HSLhsl(63, 61%, 45%)
HSVhsv(63, 76%, 72%)
CMYKcmyk(3.8%, 0%, 75.5%, 27.8%)
CIE-LABlab(72.11, -18.86, 64.60)
CIE-LCHlch(72.11, 67.30, 106.27°)
OKLaboklab(75.31% -0.0587 0.1417)
OKLCHoklch(75.31% 0.153 112.5)
XYZxyz(35.7468, 43.8184, 9.0569)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B82D #342DB8
analogous
#B87A2D #B1B82D #6BB82D
triadic
#B1B82D #2DB1B8 #B82DB1
tetradic
#B1B82D #2DB87A #342DB8 #B82D6B
square
#B1B82D #2DB87A #342DB8 #B82D6B
split-complementary
#B1B82D #2D6BB8 #7A2DB8
monochromatic
#525615 #828721 #B1B82D #CDD44E #DBE080

Accessibility & contrast

On white

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

On black

9.76
#B1B82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B82D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B82D#FFFFFF#000000##000000
##B1B82D1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b82d;
/* rgb */ color: rgb(177, 184, 45);
/* oklch */ color: oklch(75.3% 0.153 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd71',
    500: '#b1b82d',
    950: '#000000',
  },
}
SCSS
$custom: #b1b82d;
$custom-light: #cccd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b82d",
  "rgb": {
    "r": 177,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 63.022,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75308,
    "c": 0.15342,
    "h": 112.5
  },
  "luminance": 0.43818
}

Semantic roles & 50–950 ramp

primary
#B1B82D
secondary
#7C78C9
accent
#44E44C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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