#B1B72D#B1B72D

#B1B72D 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#B1B72D
RGBrgb(177, 183, 45)
HSLhsl(63, 61%, 45%)
HSVhsv(63, 75%, 72%)
CMYKcmyk(3.3%, 0%, 75.4%, 28.2%)
CIE-LABlab(71.83, -18.36, 64.35)
CIE-LCHlch(71.83, 66.91, 105.92°)
OKLaboklab(75.09% -0.0573 0.1412)
OKLCHoklch(75.09% 0.152 112.1)
XYZxyz(35.5398, 43.4044, 8.9879)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B72D #332DB7
analogous
#B7782D #B1B72D #6CB72D
triadic
#B1B72D #2DB1B7 #B72DB1
tetradic
#B1B72D #2DB778 #332DB7 #B72D6C
square
#B1B72D #2DB778 #332DB7 #B72D6C
split-complementary
#B1B72D #2D6CB7 #782DB7
monochromatic
#525515 #818621 #B1B72D #CED34E #DBDF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1B72D#FFFFFF#000000##000000
##B1B72D1.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)
#C5AE0A
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#BDAC9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b1b72d;
/* rgb */ color: rgb(177, 183, 45);
/* oklch */ color: oklch(75.1% 0.152 112.1);
Tailwind
colors: {
  custom: {
    50: '#cccc71',
    500: '#b1b72d',
    950: '#000000',
  },
}
SCSS
$custom: #b1b72d;
$custom-light: #cccc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b72d",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 62.609,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75085,
    "c": 0.15238,
    "h": 112.1
  },
  "luminance": 0.43404
}

Semantic roles & 50–950 ramp

primary
#B1B72D
secondary
#7B78C8
accent
#44E44B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B1B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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