#B1B72F#B1B72F

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

Color values

HEX#B1B72F
RGBrgb(177, 183, 47)
HSLhsl(63, 59%, 45%)
HSVhsv(63, 74%, 72%)
CMYKcmyk(3.3%, 0%, 74.3%, 28.2%)
CIE-LABlab(71.84, -18.27, 63.70)
CIE-LCHlch(71.84, 66.27, 106.00°)
OKLaboklab(75.1% -0.0569 0.1402)
OKLCHoklch(75.1% 0.151 112.1)
XYZxyz(35.5792, 43.4202, 9.1955)
Luminance0.4342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B72F #352FB7
analogous
#B7792F #B1B72F #6DB72F
triadic
#B1B72F #2FB1B7 #B72FB1
tetradic
#B1B72F #2FB779 #352FB7 #B72F6D
square
#B1B72F #2FB779 #352FB7 #B72F6D
split-complementary
#B1B72F #2F6DB7 #792FB7
monochromatic
#535616 #828622 #B1B72F #CDD251 #DBDF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B72F#FFFFFF#000000##000000
##B1B72F1.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)
#C5AE11
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#BDAC9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b1b72f;
/* rgb */ color: rgb(177, 183, 47);
/* oklch */ color: oklch(75.1% 0.151 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccc72',
    500: '#b1b72f',
    950: '#000000',
  },
}
SCSS
$custom: #b1b72f;
$custom-light: #cccc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b72f",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 62.647,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75097,
    "c": 0.15129,
    "h": 112.1
  },
  "luminance": 0.43419
}

Semantic roles & 50–950 ramp

primary
#B1B72F
secondary
#7D7AC8
accent
#45E24C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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