#7FB23C#7FB23C

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

Color values

HEX#7FB23C
RGBrgb(127, 178, 60)
HSLhsl(86, 50%, 47%)
HSVhsv(86, 66%, 70%)
CMYKcmyk(28.7%, 0%, 66.3%, 30.2%)
CIE-LABlab(67.03, -35.48, 52.90)
CIE-LCHlch(67.03, 63.69, 123.85°)
OKLaboklab(70.38% -0.1003 0.1208)
OKLCHoklch(70.38% 0.157 129.7)
XYZxyz(25.4883, 36.6784, 10.0108)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB23C #6F3CB2
analogous
#B2AA3C #7FB23C #44B23C
triadic
#7FB23C #3C7FB2 #B23C7F
tetradic
#7FB23C #3CB2AA #6F3CB2 #B23C44
square
#7FB23C #3CB2AA #6F3CB2 #B23C44
split-complementary
#7FB23C #3C44B2 #AA3CB2
monochromatic
#3E561D #5E842D #7FB23C #9DCA61 #B9D98F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB23C#FFFFFF#000000##000000
##7FB23C1.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)
#BAA62C
Deuteranopia (green-blind)
#B3A246
Tritanopia (blue-blind)
#82AA9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb23c;
/* rgb */ color: rgb(127, 178, 60);
/* oklch */ color: oklch(70.4% 0.157 129.7);
Tailwind
colors: {
  custom: {
    50: '#a8c978',
    500: '#7fb23c',
    950: '#000000',
  },
}
SCSS
$custom: #7fb23c;
$custom-light: #a8c978;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb23c",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 85.932,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70377,
    "c": 0.15701,
    "h": 129.7
  },
  "luminance": 0.36679
}

Semantic roles & 50–950 ramp

primary
#7FB23C
secondary
#A186C4
accent
#4FD98B
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB23C

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

Preview Lab → · Contrast checker → · Palette generator →

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