#7FB236#7FB236

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

Color values

HEX#7FB236
RGBrgb(127, 178, 54)
HSLhsl(85, 53%, 45%)
HSVhsv(85, 70%, 70%)
CMYKcmyk(28.7%, 0%, 69.7%, 30.2%)
CIE-LABlab(66.99, -35.92, 55.25)
CIE-LCHlch(66.99, 65.90, 123.03°)
OKLaboklab(70.33% -0.1021 0.1249)
OKLCHoklch(70.33% 0.161 129.3)
XYZxyz(25.3385, 36.6185, 9.2224)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB236 #6936B2
analogous
#B2A736 #7FB236 #41B236
triadic
#7FB236 #367FB2 #B2367F
tetradic
#7FB236 #36B2A7 #6936B2 #B23641
square
#7FB236 #36B2A7 #6936B2 #B23641
split-complementary
#7FB236 #3641B2 #A736B2
monochromatic
#3C541A #5D8328 #7FB236 #9DCD59 #B9DB88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB236#FFFFFF#000000##000000
##7FB2361.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)
#BAA523
Deuteranopia (green-blind)
#B3A241
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb236;
/* rgb */ color: rgb(127, 178, 54);
/* oklch */ color: oklch(70.3% 0.161 129.3);
Tailwind
colors: {
  custom: {
    50: '#a8c974',
    500: '#7fb236',
    950: '#000000',
  },
}
SCSS
$custom: #7fb236;
$custom-light: #a8c974;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb236",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 84.677,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70326,
    "c": 0.16127,
    "h": 129.3
  },
  "luminance": 0.36619
}

Semantic roles & 50–950 ramp

primary
#7FB236
secondary
#9C7FC5
accent
#4BDD87
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB236

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

Preview Lab → · Contrast checker → · Palette generator →

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