#7FB22D#7FB22D

#7FB22D is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.3% C 0.167 H 128.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7FB22D
RGBrgb(127, 178, 45)
HSLhsl(83, 60%, 44%)
HSVhsv(83, 75%, 70%)
CMYKcmyk(28.7%, 0%, 74.7%, 30.2%)
CIE-LABlab(66.93, -36.48, 58.49)
CIE-LCHlch(66.93, 68.93, 121.95°)
OKLaboklab(70.26% -0.1043 0.1303)
OKLCHoklch(70.26% 0.167 128.7)
XYZxyz(25.1464, 36.5416, 8.2105)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB22D #602DB2
analogous
#B2A22D #7FB22D #3CB22D
triadic
#7FB22D #2D7FB2 #B22D7F
tetradic
#7FB22D #2DB2A2 #602DB2 #B22D3C
square
#7FB22D #2DB2A2 #602DB2 #B22D3C
split-complementary
#7FB22D #2D3CB2 #A22DB2
monochromatic
#395014 #5C8121 #7FB22D #9ED14B #B8DE7C

Accessibility & contrast

On white

2.53
#7FB22D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7FB22D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB22D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB22D#FFFFFF#000000##000000
##7FB22D1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA510
Deuteranopia (green-blind)
#B4A23A
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb22d;
/* rgb */ color: rgb(127, 178, 45);
/* oklch */ color: oklch(70.3% 0.167 128.7);
Tailwind
colors: {
  custom: {
    50: '#a8c970',
    500: '#7fb22d',
    950: '#000000',
  },
}
SCSS
$custom: #7fb22d;
$custom-light: #a8c970;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb22d",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 83.008,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7026,
    "c": 0.16691,
    "h": 128.7
  },
  "luminance": 0.36542
}

Semantic roles & 50–950 ramp

primary
#7FB22D
secondary
#9475C6
accent
#45E382
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB22D

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

Preview Lab → · Contrast checker → · Palette generator →

#7FB22D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva