#7FB23A#7FB23A

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

Color values

HEX#7FB23A
RGBrgb(127, 178, 58)
HSLhsl(86, 51%, 46%)
HSVhsv(86, 67%, 70%)
CMYKcmyk(28.7%, 0%, 67.4%, 30.2%)
CIE-LABlab(67.02, -35.63, 53.70)
CIE-LCHlch(67.02, 64.44, 123.57°)
OKLaboklab(70.36% -0.1009 0.1222)
OKLCHoklch(70.36% 0.158 129.6)
XYZxyz(25.4364, 36.6576, 9.7376)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB23A #6D3AB2
analogous
#B2A93A #7FB23A #43B23A
triadic
#7FB23A #3A7FB2 #B23A7F
tetradic
#7FB23A #3AB2A9 #6D3AB2 #B23A43
square
#7FB23A #3AB2A9 #6D3AB2 #B23A43
split-complementary
#7FB23A #3A43B2 #A93AB2
monochromatic
#3D561C #5E842B #7FB23A #9DCB5F #B9DA8D

Accessibility & contrast

On white

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

On black

8.33
#7FB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB23A
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB23A#FFFFFF#000000##000000
##7FB23A1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA529
Deuteranopia (green-blind)
#B3A244
Tritanopia (blue-blind)
#82AA9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb23a;
/* rgb */ color: rgb(127, 178, 58);
/* oklch */ color: oklch(70.4% 0.158 129.6);
Tailwind
colors: {
  custom: {
    50: '#a8c976',
    500: '#7fb23a',
    950: '#000000',
  },
}
SCSS
$custom: #7fb23a;
$custom-light: #a8c976;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb23a",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 85.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70359,
    "c": 0.15847,
    "h": 129.6
  },
  "luminance": 0.36658
}

Semantic roles & 50–950 ramp

primary
#7FB23A
secondary
#9F83C4
accent
#4DDA89
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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