#7FA836#7FA836

#7FA836 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 67.9% C 0.148 H 127.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7FA836
RGBrgb(127, 168, 54)
HSLhsl(82, 51%, 44%)
HSVhsv(82, 68%, 66%)
CMYKcmyk(24.4%, 0%, 67.9%, 34.1%)
CIE-LABlab(63.98, -31.30, 52.15)
CIE-LCHlch(63.98, 60.82, 120.97°)
OKLaboklab(67.89% -0.0894 0.1184)
OKLCHoklch(67.89% 0.148 127.1)
XYZxyz(23.4209, 32.7832, 8.5832)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA836 #5F36A8
analogous
#A89836 #7FA836 #46A836
triadic
#7FA836 #367FA8 #A8367F
tetradic
#7FA836 #36A898 #5F36A8 #A83646
square
#7FA836 #36A898 #5F36A8 #A83646
split-complementary
#7FA836 #3646A8 #9836A8
monochromatic
#394B18 #5C7A27 #7FA836 #9EC853 #B8D782

Accessibility & contrast

On white

2.78
#7FA836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#7FA836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA836
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA836#FFFFFF#000000##000000
##7FA8361.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D26
Deuteranopia (green-blind)
#AB9A3F
Tritanopia (blue-blind)
#84A091
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa836;
/* rgb */ color: rgb(127, 168, 54);
/* oklch */ color: oklch(67.9% 0.148 127.1);
Tailwind
colors: {
  custom: {
    50: '#a7c273',
    500: '#7fa836',
    950: '#000000',
  },
}
SCSS
$custom: #7fa836;
$custom-light: #a7c273;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa836",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 54
  },
  "hsl": {
    "h": 81.579,
    "s": 51.351,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67887,
    "c": 0.14831,
    "h": 127.1
  },
  "luminance": 0.32784
}

Semantic roles & 50–950 ramp

primary
#7FA836
secondary
#937AC0
accent
#4DDB80
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA836

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

Preview Lab → · Contrast checker → · Palette generator →

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