#7FB23F#7FB23F

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

Color values

HEX#7FB23F
RGBrgb(127, 178, 63)
HSLhsl(87, 48%, 47%)
HSVhsv(87, 65%, 70%)
CMYKcmyk(28.7%, 0%, 64.6%, 30.2%)
CIE-LABlab(67.06, -35.24, 51.67)
CIE-LCHlch(67.06, 62.54, 124.30°)
OKLaboklab(70.41% -0.0994 0.1185)
OKLCHoklch(70.41% 0.155 130)
XYZxyz(25.5698, 36.7110, 10.4404)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB23F #723FB2
analogous
#B2AC3F #7FB23F #45B23F
triadic
#7FB23F #3F7FB2 #B23F7F
tetradic
#7FB23F #3FB2AC #723FB2 #B23F45
square
#7FB23F #3FB2AC #723FB2 #B23F45
split-complementary
#7FB23F #3F45B2 #AC3FB2
monochromatic
#3E581F #5F852F #7FB23F #9DC966 #BAD993

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB23F#FFFFFF#000000##000000
##7FB23F1.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)
#BAA630
Deuteranopia (green-blind)
#B3A248
Tritanopia (blue-blind)
#82AB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb23f;
/* rgb */ color: rgb(127, 178, 63);
/* oklch */ color: oklch(70.4% 0.155 130.0);
Tailwind
colors: {
  custom: {
    50: '#a7c979',
    500: '#7fb23f',
    950: '#000000',
  },
}
SCSS
$custom: #7fb23f;
$custom-light: #a7c979;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb23f",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 86.609,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70405,
    "c": 0.15473,
    "h": 130
  },
  "luminance": 0.36712
}

Semantic roles & 50–950 ramp

primary
#7FB23F
secondary
#A389C4
accent
#50D78C
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB23F

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

Preview Lab → · Contrast checker → · Palette generator →

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