#B2C74A#B2C74A

#B2C74A is a light, vivid yellow-green. Relative luminance 0.508; OKLCH L 79.0% C 0.151 H 118.1°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#B2C74A
RGBrgb(178, 199, 74)
HSLhsl(70, 53%, 54%)
HSVhsv(70, 63%, 78%)
CMYKcmyk(10.6%, 0%, 62.8%, 22%)
CIE-LABlab(76.56, -24.22, 58.22)
CIE-LCHlch(76.56, 63.06, 112.58°)
OKLaboklab(78.96% -0.071 0.1329)
OKLCHoklch(78.96% 0.151 118.1)
XYZxyz(40.0203, 50.8066, 14.1756)
Luminance0.5081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C74A #5F4AC7
analogous
#C79D4A #B2C74A #73C74A
triadic
#B2C74A #4AB2C7 #C74AB2
tetradic
#B2C74A #4AC79D #5F4AC7 #C74A73
square
#B2C74A #4AC79D #5F4AC7 #C74A73
split-complementary
#B2C74A #4A73C7 #9D4AC7
monochromatic
#667324 #8FA232 #B2C74A #C6D579 #DAE4A7

Accessibility & contrast

On white

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

On black

11.16
#B2C74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C74A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C74A#FFFFFF#000000##000000
##B2C74A1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3A
Deuteranopia (green-blind)
#D1BE53
Tritanopia (blue-blind)
#BCBDAD
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #b2c74a;
/* rgb */ color: rgb(178, 199, 74);
/* oklch */ color: oklch(79.0% 0.151 118.1);
Tailwind
colors: {
  custom: {
    50: '#ccd882',
    500: '#b2c74a',
    950: '#000000',
  },
}
SCSS
$custom: #b2c74a;
$custom-light: #ccd882;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c74a",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 70.08,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78961,
    "c": 0.15066,
    "h": 118.1
  },
  "luminance": 0.50806
}

Semantic roles & 50–950 ramp

primary
#B2C74A
secondary
#44397C
accent
#4CDC64
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C74A

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

Preview Lab → · Contrast checker → · Palette generator →

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