#B4C72A#B4C72A

#B4C72A is a light, vivid yellow. Relative luminance 0.507; OKLCH L 78.9% C 0.170 H 116.7°. Best body text is #000000 at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#B4C72A
RGBrgb(180, 199, 42)
HSLhsl(67, 65%, 47%)
HSVhsv(67, 79%, 78%)
CMYKcmyk(9.5%, 0%, 78.9%, 22%)
CIE-LABlab(76.51, -25.10, 69.59)
CIE-LCHlch(76.51, 73.98, 109.83°)
OKLaboklab(78.89% -0.0763 0.1517)
OKLCHoklch(78.89% 0.17 116.7)
XYZxyz(39.6648, 50.7179, 9.8900)
Luminance0.5072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C72A #3D2AC7
analogous
#C78B2A #B4C72A #66C72A
triadic
#B4C72A #2AB4C7 #C72AB4
tetradic
#B4C72A #2AC78B #3D2AC7 #C72A66
square
#B4C72A #2AC78B #3D2AC7 #C72A66
split-complementary
#B4C72A #2A66C7 #8B2AC7
monochromatic
#596215 #86941F #B4C72A #CADB53 #DAE586

Accessibility & contrast

On white

1.88
#B4C72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.14
#B4C72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C72A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C72A#FFFFFF#000000##000000
##B4C72A1.001.8811.1411.14
#FFFFFF1.881.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BC00
Deuteranopia (green-blind)
#D3BE39
Tritanopia (blue-blind)
#C0BBAA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b4c72a;
/* rgb */ color: rgb(180, 199, 42);
/* oklch */ color: oklch(78.9% 0.170 116.7);
Tailwind
colors: {
  custom: {
    50: '#ced772',
    500: '#b4c72a',
    950: '#000000',
  },
}
SCSS
$custom: #b4c72a;
$custom-light: #ced772;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c72a",
  "rgb": {
    "r": 180,
    "g": 199,
    "b": 42
  },
  "hsl": {
    "h": 67.261,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78891,
    "c": 0.16985,
    "h": 116.7
  },
  "luminance": 0.50717
}

Semantic roles & 50–950 ramp

primary
#B4C72A
secondary
#31296D
accent
#40E854
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B4C72A

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

Preview Lab → · Contrast checker → · Palette generator →

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