#B4B72E#B4B72E

#B4B72E 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.75:1 contrast (WCAG AA passes).

Color values

HEX#B4B72E
RGBrgb(180, 183, 46)
HSLhsl(61, 60%, 45%)
HSVhsv(61, 75%, 72%)
CMYKcmyk(1.6%, 0%, 74.9%, 28.2%)
CIE-LABlab(72.07, -17.03, 64.33)
CIE-LCHlch(72.07, 66.55, 104.82°)
OKLaboklab(75.34% -0.0537 0.1412)
OKLCHoklch(75.34% 0.151 110.8)
XYZxyz(36.2503, 43.7685, 9.1229)
Luminance0.4377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B72E #312EB7
analogous
#B7762E #B4B72E #6FB72E
triadic
#B4B72E #2EB4B7 #B72EB4
tetradic
#B4B72E #2EB776 #312EB7 #B72E6F
square
#B4B72E #2EB776 #312EB7 #B72E6F
split-complementary
#B4B72E #2E6FB7 #762EB7
monochromatic
#545515 #848622 #B4B72E #D0D34F #DDDF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4B72E#FFFFFF#000000##000000
##B4B72E1.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)
#C6AF0D
Deuteranopia (green-blind)
#C7B239
Tritanopia (blue-blind)
#C1AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b72e;
/* rgb */ color: rgb(180, 183, 46);
/* oklch */ color: oklch(75.3% 0.151 110.8);
Tailwind
colors: {
  custom: {
    50: '#cecc72',
    500: '#b4b72e',
    950: '#000000',
  },
}
SCSS
$custom: #b4b72e;
$custom-light: #cecc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b72e",
  "rgb": {
    "r": 180,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 61.314,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75341,
    "c": 0.1511,
    "h": 110.8
  },
  "luminance": 0.43768
}

Semantic roles & 50–950 ramp

primary
#B4B72E
secondary
#7B79C8
accent
#45E348
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B4B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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