#7FB235#7FB235

#7FB235 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.162 H 129.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7FB235
RGBrgb(127, 178, 53)
HSLhsl(84, 54%, 45%)
HSVhsv(84, 70%, 70%)
CMYKcmyk(28.7%, 0%, 70.2%, 30.2%)
CIE-LABlab(66.98, -35.98, 55.63)
CIE-LCHlch(66.98, 66.25, 122.90°)
OKLaboklab(70.32% -0.1023 0.1255)
OKLCHoklch(70.32% 0.162 129.2)
XYZxyz(25.3153, 36.6092, 9.1000)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB235 #6835B2
analogous
#B2A635 #7FB235 #40B235
triadic
#7FB235 #357FB2 #B2357F
tetradic
#7FB235 #35B2A6 #6835B2 #B23540
square
#7FB235 #35B2A6 #6835B2 #B23540
split-complementary
#7FB235 #3540B2 #A635B2
monochromatic
#3C5419 #5D8327 #7FB235 #9DCD57 #B8DB86

Accessibility & contrast

On white

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

On black

8.32
#7FB235 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB235
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB235#FFFFFF#000000##000000
##7FB2351.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA521
Deuteranopia (green-blind)
#B3A240
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb235;
/* rgb */ color: rgb(127, 178, 53);
/* oklch */ color: oklch(70.3% 0.162 129.2);
Tailwind
colors: {
  custom: {
    50: '#a8c974',
    500: '#7fb235',
    950: '#000000',
  },
}
SCSS
$custom: #7fb235;
$custom-light: #a8c974;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb235",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 84.48,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70318,
    "c": 0.16194,
    "h": 129.2
  },
  "luminance": 0.3661
}

Semantic roles & 50–950 ramp

primary
#7FB235
secondary
#9B7EC5
accent
#4ADD86
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB235

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

Preview Lab → · Contrast checker → · Palette generator →

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