#B4CF3A#B4CF3A

#B4CF3A is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.8% C 0.170 H 119.4°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#B4CF3A
RGBrgb(180, 207, 58)
HSLhsl(71, 61%, 52%)
HSVhsv(71, 72%, 81%)
CMYKcmyk(13%, 0%, 72%, 18.8%)
CIE-LABlab(78.83, -28.22, 66.71)
CIE-LCHlch(78.83, 72.43, 112.93°)
OKLaboklab(80.79% -0.0837 0.1483)
OKLCHoklch(80.79% 0.17 119.4)
XYZxyz(41.8998, 54.6347, 12.3404)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CF3A #553ACF
analogous
#CF9F3A #B4CF3A #6ACF3A
triadic
#B4CF3A #3AB4CF #CF3AB4
tetradic
#B4CF3A #3ACF9F #553ACF #CF3A6A
square
#B4CF3A #3ACF9F #553ACF #CF3A6A
split-complementary
#B4CF3A #3A6ACF #9F3ACF
monochromatic
#63731C #8DA428 #B4CF3A #C7DB6B #D9E79C

Accessibility & contrast

On white

1.76
#B4CF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#B4CF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CF3A
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CF3A#FFFFFF#000000##000000
##B4CF3A1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31E
Deuteranopia (green-blind)
#D9C447
Tritanopia (blue-blind)
#BEC4B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b4cf3a;
/* rgb */ color: rgb(180, 207, 58);
/* oklch */ color: oklch(80.8% 0.170 119.4);
Tailwind
colors: {
  custom: {
    50: '#cedd7a',
    500: '#b4cf3a',
    950: '#000000',
  },
}
SCSS
$custom: #b4cf3a;
$custom-light: #cedd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cf3a",
  "rgb": {
    "r": 180,
    "g": 207,
    "b": 58
  },
  "hsl": {
    "h": 70.872,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.80786,
    "c": 0.17029,
    "h": 119.4
  },
  "luminance": 0.54634
}

Semantic roles & 50–950 ramp

primary
#B4CF3A
secondary
#3F327B
accent
#44E461
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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