#B2C94F#B2C94F

#B2C94F is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.5% C 0.149 H 119.0°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#B2C94F
RGBrgb(178, 201, 79)
HSLhsl(71, 53%, 55%)
HSVhsv(71, 61%, 79%)
CMYKcmyk(11.4%, 0%, 60.7%, 21.2%)
CIE-LABlab(77.16, -24.82, 56.76)
CIE-LCHlch(77.16, 61.95, 113.62°)
OKLaboklab(79.46% -0.0722 0.1305)
OKLCHoklch(79.46% 0.149 119)
XYZxyz(40.6587, 51.8030, 15.2527)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C94F #664FC9
analogous
#C9A34F #B2C94F #75C94F
triadic
#B2C94F #4FB2C9 #C94FB2
tetradic
#B2C94F #4FC9A3 #664FC9 #C94F75
square
#B2C94F #4FC9A3 #664FC9 #C94F75
split-complementary
#B2C94F #4F75C9 #A34FC9
monochromatic
#697925 #92A733 #B2C94F #C6D77E #DBE6AD

Accessibility & contrast

On white

1.85
#B2C94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#B2C94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C94F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C94F#FFFFFF#000000##000000
##B2C94F1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF41
Deuteranopia (green-blind)
#D3BF57
Tritanopia (blue-blind)
#BCBFAF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b2c94f;
/* rgb */ color: rgb(178, 201, 79);
/* oklch */ color: oklch(79.5% 0.149 119.0);
Tailwind
colors: {
  custom: {
    50: '#ccd985',
    500: '#b2c94f',
    950: '#000000',
  },
}
SCSS
$custom: #b2c94f;
$custom-light: #ccd985;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c94f",
  "rgb": {
    "r": 178,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 71.311,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.79458,
    "c": 0.14908,
    "h": 119
  },
  "luminance": 0.51803
}

Semantic roles & 50–950 ramp

primary
#B2C94F
secondary
#483B81
accent
#4BDC67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C94F

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

Preview Lab → · Contrast checker → · Palette generator →

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