#7FB23E#7FB23E

#7FB23E is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.155 H 129.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7FB23E
RGBrgb(127, 178, 62)
HSLhsl(86, 48%, 47%)
HSVhsv(86, 65%, 70%)
CMYKcmyk(28.7%, 0%, 65.2%, 30.2%)
CIE-LABlab(67.05, -35.32, 52.08)
CIE-LCHlch(67.05, 62.93, 124.15°)
OKLaboklab(70.4% -0.0997 0.1193)
OKLCHoklch(70.4% 0.156 129.9)
XYZxyz(25.5421, 36.6999, 10.2946)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB23E #713EB2
analogous
#B2AB3E #7FB23E #45B23E
triadic
#7FB23E #3E7FB2 #B23E7F
tetradic
#7FB23E #3EB2AB #713EB2 #B23E45
square
#7FB23E #3EB2AB #713EB2 #B23E45
split-complementary
#7FB23E #3E45B2 #AB3EB2
monochromatic
#3E571E #5F852E #7FB23E #9DC964 #BAD992

Accessibility & contrast

On white

2.52
#7FB23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#7FB23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB23E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB23E#FFFFFF#000000##000000
##7FB23E1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA62F
Deuteranopia (green-blind)
#B3A247
Tritanopia (blue-blind)
#82AB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb23e;
/* rgb */ color: rgb(127, 178, 62);
/* oklch */ color: oklch(70.4% 0.155 129.9);
Tailwind
colors: {
  custom: {
    50: '#a8c979',
    500: '#7fb23e',
    950: '#000000',
  },
}
SCSS
$custom: #7fb23e;
$custom-light: #a8c979;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb23e",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 86.379,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70395,
    "c": 0.1555,
    "h": 129.9
  },
  "luminance": 0.36701
}

Semantic roles & 50–950 ramp

primary
#7FB23E
secondary
#A288C4
accent
#50D88C
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB23E

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

Preview Lab → · Contrast checker → · Palette generator →

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