#B2C74C#B2C74C

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

Color values

HEX#B2C74C
RGBrgb(178, 199, 76)
HSLhsl(70, 52%, 54%)
HSVhsv(70, 62%, 78%)
CMYKcmyk(10.6%, 0%, 61.8%, 22%)
CIE-LABlab(76.58, -24.07, 57.40)
CIE-LCHlch(76.58, 62.24, 112.75°)
OKLaboklab(78.98% -0.0704 0.1314)
OKLCHoklch(78.98% 0.149 118.2)
XYZxyz(40.0887, 50.8340, 14.5361)
Luminance0.5083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C74C #614CC7
analogous
#C79F4C #B2C74C #75C74C
triadic
#B2C74C #4CB2C7 #C74CB2
tetradic
#B2C74C #4CC79F #614CC7 #C74C75
square
#B2C74C #4CC79F #614CC7 #C74C75
split-complementary
#B2C74C #4C75C7 #9F4CC7
monochromatic
#677424 #90A333 #B2C74C #C6D67B #DAE4A9

Accessibility & contrast

On white

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

On black

11.17
#B2C74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C74C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C74C#FFFFFF#000000##000000
##B2C74C1.001.8811.1711.17
#FFFFFF1.881.0021.0021.00
#00000011.1721.001.001.00
##00000011.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c74c;
/* rgb */ color: rgb(178, 199, 76);
/* oklch */ color: oklch(79.0% 0.149 118.2);
Tailwind
colors: {
  custom: {
    50: '#ccd883',
    500: '#b2c74c',
    950: '#000000',
  },
}
SCSS
$custom: #b2c74c;
$custom-light: #ccd883;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c74c",
  "rgb": {
    "r": 178,
    "g": 199,
    "b": 76
  },
  "hsl": {
    "h": 70.244,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7898,
    "c": 0.14908,
    "h": 118.2
  },
  "luminance": 0.50834
}

Semantic roles & 50–950 ramp

primary
#B2C74C
secondary
#463A7D
accent
#4CDC65
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #B2C74C

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

Preview Lab → · Contrast checker → · Palette generator →

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