#B4B72B#B4B72B

#B4B72B 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#B4B72B
RGBrgb(180, 183, 43)
HSLhsl(61, 62%, 44%)
HSVhsv(61, 77%, 72%)
CMYKcmyk(1.6%, 0%, 76.5%, 28.2%)
CIE-LABlab(72.06, -17.15, 65.28)
CIE-LCHlch(72.06, 67.50, 104.72°)
OKLaboklab(75.32% -0.0543 0.1427)
OKLCHoklch(75.32% 0.153 110.8)
XYZxyz(36.1932, 43.7457, 8.8222)
Luminance0.4375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B72B #2E2BB7
analogous
#B7742B #B4B72B #6EB72B
triadic
#B4B72B #2BB4B7 #B72BB4
tetradic
#B4B72B #2BB774 #2E2BB7 #B72B6E
square
#B4B72B #2BB774 #2E2BB7 #B72B6E
split-complementary
#B4B72B #2B6EB7 #742BB7
monochromatic
#535414 #83851F #B4B72B #D2D54B #DEE07C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B72B#FFFFFF#000000##000000
##B4B72B1.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)
#C6AF03
Deuteranopia (green-blind)
#C7B237
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b72b;
/* rgb */ color: rgb(180, 183, 43);
/* oklch */ color: oklch(75.3% 0.153 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc70',
    500: '#b4b72b',
    950: '#000000',
  },
}
SCSS
$custom: #b4b72b;
$custom-light: #cecc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b72b",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 61.286,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75324,
    "c": 0.15268,
    "h": 110.8
  },
  "luminance": 0.43745
}

Semantic roles & 50–950 ramp

primary
#B4B72B
secondary
#7775C9
accent
#43E546
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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