#B4CF31#B4CF31

#B4CF31 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.7% C 0.175 H 119.2°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#B4CF31
RGBrgb(180, 207, 49)
HSLhsl(70, 62%, 50%)
HSVhsv(70, 76%, 81%)
CMYKcmyk(13%, 0%, 76.3%, 18.8%)
CIE-LABlab(78.78, -28.64, 69.60)
CIE-LCHlch(78.78, 75.26, 112.37°)
OKLaboklab(80.73% -0.0856 0.1529)
OKLCHoklch(80.73% 0.175 119.2)
XYZxyz(41.6905, 54.5510, 11.2382)
Luminance0.5455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CF31 #4C31CF
analogous
#CF9B31 #B4CF31 #65CF31
triadic
#B4CF31 #31B4CF #CF31B4
tetradic
#B4CF31 #31CF9B #4C31CF #CF3165
square
#B4CF31 #31CF9B #4C31CF #CF3165
split-complementary
#B4CF31 #3165CF #9B31CF
monochromatic
#5E6C19 #899E25 #B4CF31 #C6DB63 #D8E694

Accessibility & contrast

On white

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

On black

11.91
#B4CF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CF31
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CF31#FFFFFF#000000##000000
##B4CF311.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC302
Deuteranopia (green-blind)
#DAC440
Tritanopia (blue-blind)
#BFC4B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b4cf31;
/* rgb */ color: rgb(180, 207, 49);
/* oklch */ color: oklch(80.7% 0.175 119.2);
Tailwind
colors: {
  custom: {
    50: '#cedd76',
    500: '#b4cf31',
    950: '#000000',
  },
}
SCSS
$custom: #b4cf31;
$custom-light: #cedd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cf31",
  "rgb": {
    "r": 180,
    "g": 207,
    "b": 49
  },
  "hsl": {
    "h": 70.253,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.80731,
    "c": 0.17524,
    "h": 119.2
  },
  "luminance": 0.54551
}

Semantic roles & 50–950 ramp

primary
#B4CF31
secondary
#3B2E76
accent
#43E55E
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #B4CF31

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

Preview Lab → · Contrast checker → · Palette generator →

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