#B1B727#B1B727

#B1B727 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.155 H 112.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B1B727
RGBrgb(177, 183, 39)
HSLhsl(63, 65%, 44%)
HSVhsv(63, 79%, 72%)
CMYKcmyk(3.3%, 0%, 78.7%, 28.2%)
CIE-LABlab(71.80, -18.59, 66.16)
CIE-LCHlch(71.80, 68.73, 105.70°)
OKLaboklab(75.05% -0.0585 0.144)
OKLCHoklch(75.05% 0.155 112.1)
XYZxyz(35.4324, 43.3615, 8.4222)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B727 #2D27B7
analogous
#B77527 #B1B727 #69B727
triadic
#B1B727 #27B1B7 #B727B1
tetradic
#B1B727 #27B775 #2D27B7 #B72769
square
#B1B727 #27B775 #2D27B7 #B72769
split-complementary
#B1B727 #2769B7 #7527B7
monochromatic
#4F5211 #80851C #B1B727 #D1D744 #DDE276

Accessibility & contrast

On white

2.17
#B1B727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#B1B727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B727
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B727#FFFFFF#000000##000000
##B1B7271.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C6B234
Tritanopia (blue-blind)
#BEAB9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b1b727;
/* rgb */ color: rgb(177, 183, 39);
/* oklch */ color: oklch(75.1% 0.155 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccc6e',
    500: '#b1b727',
    950: '#000000',
  },
}
SCSS
$custom: #b1b727;
$custom-light: #cccc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b727",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 39
  },
  "hsl": {
    "h": 62.5,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.75053,
    "c": 0.1554,
    "h": 112.1
  },
  "luminance": 0.43361
}

Semantic roles & 50–950 ramp

primary
#B1B727
secondary
#7470C9
accent
#40E847
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B727

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

Preview Lab → · Contrast checker → · Palette generator →

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