#7FA23A#7FA23A

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

Color values

HEX#7FA23A
RGBrgb(127, 162, 58)
HSLhsl(80, 47%, 43%)
HSVhsv(80, 64%, 64%)
CMYKcmyk(21.6%, 0%, 64.2%, 36.5%)
CIE-LABlab(62.22, -28.13, 48.59)
CIE-LCHlch(62.22, 56.15, 120.07°)
OKLaboklab(66.47% -0.0803 0.1114)
OKLCHoklch(66.47% 0.137 125.8)
XYZxyz(22.4365, 30.6579, 8.7377)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA23A #5D3AA2
analogous
#A2913A #7FA23A #4BA23A
triadic
#7FA23A #3A7FA2 #A23A7F
tetradic
#7FA23A #3AA291 #5D3AA2 #A23A4B
square
#7FA23A #3AA291 #5D3AA2 #A23A4B
split-complementary
#7FA23A #3A4BA2 #913AA2
monochromatic
#38481A #5C752A #7FA23A #9EC357 #B8D384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA23A#FFFFFF#000000##000000
##7FA23A1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA982D
Deuteranopia (green-blind)
#A69642
Tritanopia (blue-blind)
#849B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa23a;
/* rgb */ color: rgb(127, 162, 58);
/* oklch */ color: oklch(66.5% 0.137 125.8);
Tailwind
colors: {
  custom: {
    50: '#a7bd75',
    500: '#7fa23a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa23a;
$custom-light: #a7bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa23a",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 80.192,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66467,
    "c": 0.13734,
    "h": 125.8
  },
  "luminance": 0.30658
}

Semantic roles & 50–950 ramp

primary
#7FA23A
secondary
#917BBD
accent
#51D77E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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