#7FA23E#7FA23E

#7FA23E is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.5% C 0.134 H 126.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7FA23E
RGBrgb(127, 162, 62)
HSLhsl(81, 45%, 44%)
HSVhsv(81, 62%, 64%)
CMYKcmyk(21.6%, 0%, 61.7%, 36.5%)
CIE-LABlab(62.25, -27.80, 46.86)
CIE-LCHlch(62.25, 54.49, 120.68°)
OKLaboklab(66.51% -0.079 0.1082)
OKLCHoklch(66.51% 0.134 126.1)
XYZxyz(22.5423, 30.7002, 9.2946)
Luminance0.3070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA23E #613EA2
analogous
#A2933E #7FA23E #4DA23E
triadic
#7FA23E #3E7FA2 #A23E7F
tetradic
#7FA23E #3EA293 #613EA2 #A23E4D
square
#7FA23E #3EA293 #613EA2 #A23E4D
split-complementary
#7FA23E #3E4DA2 #933EA2
monochromatic
#3A491C #5C762D #7FA23E #9EC15C #B8D289

Accessibility & contrast

On white

2.94
#7FA23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7FA23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA23E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA23E#FFFFFF#000000##000000
##7FA23E1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9832
Deuteranopia (green-blind)
#A59645
Tritanopia (blue-blind)
#849B8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa23e;
/* rgb */ color: rgb(127, 162, 62);
/* oklch */ color: oklch(66.5% 0.134 126.1);
Tailwind
colors: {
  custom: {
    50: '#a7bd77',
    500: '#7fa23e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa23e;
$custom-light: #a7bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa23e",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 81,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66508,
    "c": 0.13402,
    "h": 126.1
  },
  "luminance": 0.307
}

Semantic roles & 50–950 ramp

primary
#7FA23E
secondary
#9580BC
accent
#53D481
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA23E

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

Preview Lab → · Contrast checker → · Palette generator →

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