#7FA258#7FA258

#7FA258 is a light, moderate yellow-green. Relative luminance 0.311; OKLCH L 66.8% C 0.109 H 129.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7FA258
RGBrgb(127, 162, 88)
HSLhsl(88, 30%, 49%)
HSVhsv(88, 46%, 64%)
CMYKcmyk(21.6%, 0%, 45.7%, 36.5%)
CIE-LABlab(62.56, -25.08, 34.52)
CIE-LCHlch(62.56, 42.67, 126.00°)
OKLaboklab(66.85% -0.0693 0.0836)
OKLCHoklch(66.85% 0.109 129.6)
XYZxyz(23.4339, 31.0568, 13.9906)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA258 #7B58A2
analogous
#A2A058 #7FA258 #5AA258
triadic
#7FA258 #587FA2 #A2587F
tetradic
#7FA258 #58A2A0 #7B58A2 #A2585A
square
#7FA258 #58A2A0 #7B58A2 #A2585A
split-complementary
#7FA258 #585AA2 #A058A2
monochromatic
#41532D #607A42 #7FA258 #9DB97E #BBCFA6

Accessibility & contrast

On white

2.91
#7FA258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7FA258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA258
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA258#FFFFFF#000000##000000
##7FA2581.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89952
Deuteranopia (green-blind)
#A3965C
Tritanopia (blue-blind)
#819C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa258;
/* rgb */ color: rgb(127, 162, 88);
/* oklch */ color: oklch(66.8% 0.109 129.6);
Tailwind
colors: {
  custom: {
    50: '#a5bd88',
    500: '#7fa258',
    950: '#000000',
  },
}
SCSS
$custom: #7fa258;
$custom-light: #a5bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa258",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 88.378,
    "s": 29.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.66849,
    "c": 0.10859,
    "h": 129.6
  },
  "luminance": 0.31057
}

Semantic roles & 50–950 ramp

primary
#7FA258
secondary
#AA99BC
accent
#62C691
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA258

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

Preview Lab → · Contrast checker → · Palette generator →

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