#B1B82C#B1B82C

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

Color values

HEX#B1B82C
RGBrgb(177, 184, 44)
HSLhsl(63, 61%, 45%)
HSVhsv(63, 76%, 72%)
CMYKcmyk(3.8%, 0%, 76.1%, 27.8%)
CIE-LABlab(72.10, -18.90, 64.92)
CIE-LCHlch(72.10, 67.61, 106.23°)
OKLaboklab(75.3% -0.0589 0.1422)
OKLCHoklch(75.3% 0.154 112.5)
XYZxyz(35.7278, 43.8108, 8.9567)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B82C #332CB8
analogous
#B8792C #B1B82C #6BB82C
triadic
#B1B82C #2CB1B8 #B82CB1
tetradic
#B1B82C #2CB879 #332CB8 #B82C6B
square
#B1B82C #2CB879 #332CB8 #B82C6B
split-complementary
#B1B82C #2C6BB8 #792CB8
monochromatic
#525514 #818720 #B1B82C #CED44D #DBE07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B82C#FFFFFF#000000##000000
##B1B82C1.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)
#C6AF06
Deuteranopia (green-blind)
#C7B238
Tritanopia (blue-blind)
#BDAD9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b1b82c;
/* rgb */ color: rgb(177, 184, 44);
/* oklch */ color: oklch(75.3% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd71',
    500: '#b1b82c',
    950: '#000000',
  },
}
SCSS
$custom: #b1b82c;
$custom-light: #cccd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b82c",
  "rgb": {
    "r": 177,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 63,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75302,
    "c": 0.15395,
    "h": 112.5
  },
  "luminance": 0.4381
}

Semantic roles & 50–950 ramp

primary
#B1B82C
secondary
#7B77C9
accent
#43E54B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B82C

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

Preview Lab → · Contrast checker → · Palette generator →

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