#B1B72E#B1B72E

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

Color values

HEX#B1B72E
RGBrgb(177, 183, 46)
HSLhsl(63, 60%, 45%)
HSVhsv(63, 75%, 72%)
CMYKcmyk(3.3%, 0%, 74.9%, 28.2%)
CIE-LABlab(71.83, -18.31, 64.03)
CIE-LCHlch(71.83, 66.59, 105.96°)
OKLaboklab(75.09% -0.0571 0.1407)
OKLCHoklch(75.09% 0.152 112.1)
XYZxyz(35.5593, 43.4122, 9.0905)
Luminance0.4341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B72E #342EB7
analogous
#B7792E #B1B72E #6CB72E
triadic
#B1B72E #2EB1B7 #B72EB1
tetradic
#B1B72E #2EB779 #342EB7 #B72E6C
square
#B1B72E #2EB779 #342EB7 #B72E6C
split-complementary
#B1B72E #2E6CB7 #792EB7
monochromatic
#525515 #828622 #B1B72E #CDD34F #DBDF80

Accessibility & contrast

On white

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

On black

9.68
#B1B72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B72E
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B72E#FFFFFF#000000##000000
##B1B72E1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE0E
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#BDAC9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b1b72e;
/* rgb */ color: rgb(177, 183, 46);
/* oklch */ color: oklch(75.1% 0.152 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccc72',
    500: '#b1b72e',
    950: '#000000',
  },
}
SCSS
$custom: #b1b72e;
$custom-light: #cccc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b72e",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 62.628,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75091,
    "c": 0.15184,
    "h": 112.1
  },
  "luminance": 0.43411
}

Semantic roles & 50–950 ramp

primary
#B1B72E
secondary
#7C79C8
accent
#45E34C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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