#B4CF3F#B4CF3F

#B4CF3F is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.167 H 119.6°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#B4CF3F
RGBrgb(180, 207, 63)
HSLhsl(71, 60%, 53%)
HSVhsv(71, 70%, 81%)
CMYKcmyk(13%, 0%, 69.6%, 18.8%)
CIE-LABlab(78.86, -27.95, 64.96)
CIE-LCHlch(78.86, 70.72, 113.28°)
OKLaboklab(80.82% -0.0825 0.1454)
OKLCHoklch(80.82% 0.167 119.6)
XYZxyz(42.0332, 54.6880, 13.0432)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4CF3F #5A3FCF
analogous
#CFA23F #B4CF3F #6CCF3F
triadic
#B4CF3F #3FB4CF #CF3FB4
tetradic
#B4CF3F #3FCFA2 #5A3FCF #CF3F6C
square
#B4CF3F #3FCFA2 #5A3FCF #CF3F6C
split-complementary
#B4CF3F #3F6CCF #A23FCF
monochromatic
#65761E #90A72A #B4CF3F #C7DB70 #DAE7A1

Accessibility & contrast

On white

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

On black

11.94
#B4CF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4CF3F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4CF3F#FFFFFF#000000##000000
##B4CF3F1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC327
Deuteranopia (green-blind)
#D9C44B
Tritanopia (blue-blind)
#BEC4B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b4cf3f;
/* rgb */ color: rgb(180, 207, 63);
/* oklch */ color: oklch(80.8% 0.167 119.6);
Tailwind
colors: {
  custom: {
    50: '#cedd7d',
    500: '#b4cf3f',
    950: '#000000',
  },
}
SCSS
$custom: #b4cf3f;
$custom-light: #cedd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b4cf3f",
  "rgb": {
    "r": 180,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 71.25,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.8082,
    "c": 0.1672,
    "h": 119.6
  },
  "luminance": 0.54688
}

Semantic roles & 50–950 ramp

primary
#B4CF3F
secondary
#42347F
accent
#45E362
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B4CF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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