#76B228#76B228

#76B228 is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.7% C 0.174 H 130.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#76B228
RGBrgb(118, 178, 40)
HSLhsl(86, 63%, 43%)
HSVhsv(86, 78%, 70%)
CMYKcmyk(33.7%, 0%, 77.5%, 30.2%)
CIE-LABlab(66.40, -40.14, 59.46)
CIE-LCHlch(66.40, 71.74, 124.02°)
OKLaboklab(69.69% -0.1141 0.1317)
OKLCHoklch(69.69% 0.174 130.9)
XYZxyz(23.7744, 35.8447, 7.6732)
Luminance0.3585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76B228 #6428B2
analogous
#B2A928 #76B228 #31B228
triadic
#76B228 #2876B2 #B22876
tetradic
#76B228 #28B2A9 #6428B2 #B22831
square
#76B228 #28B2A9 #6428B2 #B22831
split-complementary
#76B228 #2831B2 #A928B2
monochromatic
#344E12 #55801D #76B228 #95D543 #B1E075

Accessibility & contrast

On white

2.57
#76B228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#76B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #76B228
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76B228#FFFFFF#000000##000000
##76B2281.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA401
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#78AA98
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #76b228;
/* rgb */ color: rgb(118, 178, 40);
/* oklch */ color: oklch(69.7% 0.174 130.9);
Tailwind
colors: {
  custom: {
    50: '#a2c96d',
    500: '#76b228',
    950: '#000000',
  },
}
SCSS
$custom: #76b228;
$custom-light: #a2c96d;
$custom-dark: #000000;
JSON
{
  "hex": "#76b228",
  "rgb": {
    "r": 118,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 86.087,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.69686,
    "c": 0.17426,
    "h": 130.9
  },
  "luminance": 0.35846
}

Semantic roles & 50–950 ramp

primary
#76B228
secondary
#956FC7
accent
#41E689
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #76B228

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

Preview Lab → · Contrast checker → · Palette generator →

#76B228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva