#B4B72A#B4B72A

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

Color values

HEX#B4B72A
RGBrgb(180, 183, 42)
HSLhsl(61, 63%, 44%)
HSVhsv(61, 77%, 72%)
CMYKcmyk(1.6%, 0%, 77%, 28.2%)
CIE-LABlab(72.05, -17.19, 65.59)
CIE-LCHlch(72.05, 67.80, 104.69°)
OKLaboklab(75.32% -0.0545 0.1432)
OKLCHoklch(75.32% 0.153 110.8)
XYZxyz(36.1751, 43.7384, 8.7268)
Luminance0.4374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B72A #2D2AB7
analogous
#B7742A #B4B72A #6DB72A
triadic
#B4B72A #2AB4B7 #B72AB4
tetradic
#B4B72A #2AB774 #2D2AB7 #B72A6D
square
#B4B72A #2AB774 #2D2AB7 #B72A6D
split-complementary
#B4B72A #2A6DB7 #742AB7
monochromatic
#525313 #83851F #B4B72A #D2D549 #DEE17B

Accessibility & contrast

On white

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

On black

9.75
#B4B72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B72A
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B72A#FFFFFF#000000##000000
##B4B72A1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4b72a;
/* rgb */ color: rgb(180, 183, 42);
/* oklch */ color: oklch(75.3% 0.153 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc70',
    500: '#b4b72a',
    950: '#000000',
  },
}
SCSS
$custom: #b4b72a;
$custom-light: #cecc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b72a",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 61.277,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75319,
    "c": 0.15319,
    "h": 110.8
  },
  "luminance": 0.43737
}

Semantic roles & 50–950 ramp

primary
#B4B72A
secondary
#7674C9
accent
#42E646
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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