#B1B827#B1B827

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

Color values

HEX#B1B827
RGBrgb(177, 184, 39)
HSLhsl(63, 65%, 44%)
HSVhsv(63, 79%, 72%)
CMYKcmyk(3.8%, 0%, 78.8%, 27.8%)
CIE-LABlab(72.08, -19.10, 66.41)
CIE-LCHlch(72.08, 69.10, 106.04°)
OKLaboklab(75.28% -0.0599 0.1445)
OKLCHoklch(75.28% 0.156 112.5)
XYZxyz(35.6394, 43.7754, 8.4912)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B827 #2E27B8
analogous
#B87627 #B1B827 #68B827
triadic
#B1B827 #27B1B8 #B827B1
tetradic
#B1B827 #27B876 #2E27B8 #B82768
square
#B1B827 #27B876 #2E27B8 #B82768
split-complementary
#B1B827 #2768B8 #7627B8
monochromatic
#505312 #80861C #B1B827 #D0D845 #DDE277

Accessibility & contrast

On white

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

On black

9.75
#B1B827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B827
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B827#FFFFFF#000000##000000
##B1B8271.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C7B235
Tritanopia (blue-blind)
#BDAC9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b1b827;
/* rgb */ color: rgb(177, 184, 39);
/* oklch */ color: oklch(75.3% 0.156 112.5);
Tailwind
colors: {
  custom: {
    50: '#cccd6f',
    500: '#b1b827',
    950: '#000000',
  },
}
SCSS
$custom: #b1b827;
$custom-light: #cccd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b827",
  "rgb": {
    "r": 177,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 62.897,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75276,
    "c": 0.15642,
    "h": 112.5
  },
  "luminance": 0.43775
}

Semantic roles & 50–950 ramp

primary
#B1B827
secondary
#7571CA
accent
#40E848
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B827

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

Preview Lab → · Contrast checker → · Palette generator →

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