#7FA237#7FA237

#7FA237 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.4% C 0.140 H 125.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7FA237
RGBrgb(127, 162, 55)
HSLhsl(80, 49%, 43%)
HSVhsv(80, 66%, 64%)
CMYKcmyk(21.6%, 0%, 66%, 36.5%)
CIE-LABlab(62.19, -28.37, 49.85)
CIE-LCHlch(62.19, 57.36, 119.64°)
OKLaboklab(66.44% -0.0812 0.1137)
OKLCHoklch(66.44% 0.14 125.6)
XYZxyz(22.3624, 30.6282, 8.3474)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA237 #5A37A2
analogous
#A28F37 #7FA237 #4AA237
triadic
#7FA237 #377FA2 #A2377F
tetradic
#7FA237 #37A28F #5A37A2 #A2374A
square
#7FA237 #37A28F #5A37A2 #A2374A
split-complementary
#7FA237 #374AA2 #8F37A2
monochromatic
#374718 #5B7427 #7FA237 #9FC452 #B8D480

Accessibility & contrast

On white

2.95
#7FA237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#7FA237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA237
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA237#FFFFFF#000000##000000
##7FA2371.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9829
Deuteranopia (green-blind)
#A6963F
Tritanopia (blue-blind)
#849A8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa237;
/* rgb */ color: rgb(127, 162, 55);
/* oklch */ color: oklch(66.4% 0.140 125.6);
Tailwind
colors: {
  custom: {
    50: '#a7bd73',
    500: '#7fa237',
    950: '#000000',
  },
}
SCSS
$custom: #7fa237;
$custom-light: #a7bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa237",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 79.626,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66439,
    "c": 0.1397,
    "h": 125.6
  },
  "luminance": 0.30629
}

Semantic roles & 50–950 ramp

primary
#7FA237
secondary
#8E78BD
accent
#4FD97C
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA237

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

Preview Lab → · Contrast checker → · Palette generator →

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