#B4B72F#B4B72F

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

Color values

HEX#B4B72F
RGBrgb(180, 183, 47)
HSLhsl(61, 59%, 45%)
HSVhsv(61, 74%, 72%)
CMYKcmyk(1.6%, 0%, 74.3%, 28.2%)
CIE-LABlab(72.08, -16.98, 64.01)
CIE-LCHlch(72.08, 66.22, 104.86°)
OKLaboklab(75.35% -0.0535 0.1407)
OKLCHoklch(75.35% 0.151 110.8)
XYZxyz(36.2702, 43.7765, 9.2279)
Luminance0.4378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B72F #322FB7
analogous
#B7762F #B4B72F #70B72F
triadic
#B4B72F #2FB4B7 #B72FB4
tetradic
#B4B72F #2FB776 #322FB7 #B72F70
square
#B4B72F #2FB776 #322FB7 #B72F70
split-complementary
#B4B72F #2F70B7 #762FB7
monochromatic
#545616 #848622 #B4B72F #CFD251 #DDDF82

Accessibility & contrast

On white

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

On black

9.76
#B4B72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B72F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B72F#FFFFFF#000000##000000
##B4B72F1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF10
Deuteranopia (green-blind)
#C7B23A
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b72f;
/* rgb */ color: rgb(180, 183, 47);
/* oklch */ color: oklch(75.3% 0.151 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc72',
    500: '#b4b72f',
    950: '#000000',
  },
}
SCSS
$custom: #b4b72f;
$custom-light: #cecc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b72f",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 61.324,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75347,
    "c": 0.15055,
    "h": 110.8
  },
  "luminance": 0.43776
}

Semantic roles & 50–950 ramp

primary
#B4B72F
secondary
#7C7AC8
accent
#45E249
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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