#7FA837#7FA837

#7FA837 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#7FA837
RGBrgb(127, 168, 55)
HSLhsl(82, 51%, 44%)
HSVhsv(82, 67%, 66%)
CMYKcmyk(24.4%, 0%, 67.3%, 34.1%)
CIE-LABlab(63.99, -31.22, 51.75)
CIE-LCHlch(63.99, 60.44, 121.11°)
OKLaboklab(67.9% -0.0891 0.1177)
OKLCHoklch(67.9% 0.148 127.1)
XYZxyz(23.4446, 32.7927, 8.7081)
Luminance0.3279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA837 #6037A8
analogous
#A89837 #7FA837 #46A837
triadic
#7FA837 #377FA8 #A8377F
tetradic
#7FA837 #37A898 #6037A8 #A83746
square
#7FA837 #37A898 #6037A8 #A83746
split-complementary
#7FA837 #3746A8 #9837A8
monochromatic
#394C19 #5C7A28 #7FA837 #9EC755 #B8D683

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA837#FFFFFF#000000##000000
##7FA8371.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)
#B09D27
Deuteranopia (green-blind)
#AB9A40
Tritanopia (blue-blind)
#84A091
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa837;
/* rgb */ color: rgb(127, 168, 55);
/* oklch */ color: oklch(67.9% 0.148 127.1);
Tailwind
colors: {
  custom: {
    50: '#a7c274',
    500: '#7fa837',
    950: '#000000',
  },
}
SCSS
$custom: #7fa837;
$custom-light: #a7c274;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa837",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 81.77,
    "s": 50.673,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67896,
    "c": 0.14759,
    "h": 127.1
  },
  "luminance": 0.32793
}

Semantic roles & 50–950 ramp

primary
#7FA837
secondary
#947BC0
accent
#4EDA81
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA837

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

Preview Lab → · Contrast checker → · Palette generator →

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