#7FB223#7FB223

#7FB223 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.2% C 0.172 H 128.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7FB223
RGBrgb(127, 178, 35)
HSLhsl(81, 67%, 42%)
HSVhsv(81, 80%, 70%)
CMYKcmyk(28.7%, 0%, 80.3%, 30.2%)
CIE-LABlab(66.88, -36.98, 61.60)
CIE-LCHlch(66.88, 71.85, 120.98°)
OKLaboklab(70.2% -0.1064 0.1352)
OKLCHoklch(70.2% 0.172 128.2)
XYZxyz(24.9762, 36.4735, 7.3140)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB223 #5623B2
analogous
#B29E23 #7FB223 #37B223
triadic
#7FB223 #237FB2 #B2237F
tetradic
#7FB223 #23B29E #5623B2 #B22337
square
#7FB223 #23B29E #5623B2 #B22337
split-complementary
#7FB223 #2337B2 #9E23B2
monochromatic
#364C0F #5B7F19 #7FB223 #A0D83A #B9E26D

Accessibility & contrast

On white

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

On black

8.29
#7FB223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB223
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB223#FFFFFF#000000##000000
##7FB2231.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#84AA98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb223;
/* rgb */ color: rgb(127, 178, 35);
/* oklch */ color: oklch(70.2% 0.172 128.2);
Tailwind
colors: {
  custom: {
    50: '#a9c96b',
    500: '#7fb223',
    950: '#000000',
  },
}
SCSS
$custom: #7fb223;
$custom-light: #a9c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb223",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 81.399,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70202,
    "c": 0.17208,
    "h": 128.2
  },
  "luminance": 0.36474
}

Semantic roles & 50–950 ramp

primary
#7FB223
secondary
#8B68C9
accent
#3EEA7B
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FB223

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

Preview Lab → · Contrast checker → · Palette generator →

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