#7FA223#7FA223

#7FA223 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.153 H 124.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7FA223
RGBrgb(127, 162, 35)
HSLhsl(77, 64%, 39%)
HSVhsv(77, 78%, 64%)
CMYKcmyk(21.6%, 0%, 78.4%, 36.5%)
CIE-LABlab(62.06, -29.58, 57.18)
CIE-LCHlch(62.06, 64.38, 117.36°)
OKLaboklab(66.29% -0.0863 0.1259)
OKLCHoklch(66.29% 0.153 124.4)
XYZxyz(21.9763, 30.4738, 6.3140)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA223 #4623A2
analogous
#A28523 #7FA223 #40A223
triadic
#7FA223 #237FA2 #A2237F
tetradic
#7FA223 #23A285 #4623A2 #A22340
square
#7FA223 #23A285 #4623A2 #A22340
split-complementary
#7FA223 #2340A2 #8523A2
monochromatic
#303D0D #587018 #7FA223 #A6D230 #BBDD62

Accessibility & contrast

On white

2.96
#7FA223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7FA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA223
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA223#FFFFFF#000000##000000
##7FA2231.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#859A8A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa223;
/* rgb */ color: rgb(127, 162, 35);
/* oklch */ color: oklch(66.3% 0.153 124.4);
Tailwind
colors: {
  custom: {
    50: '#a8bd69',
    500: '#7fa223',
    950: '#000000',
  },
}
SCSS
$custom: #7fa223;
$custom-light: #a8bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa223",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 76.535,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6629,
    "c": 0.15264,
    "h": 124.4
  },
  "luminance": 0.30474
}

Semantic roles & 50–950 ramp

primary
#7FA223
secondary
#7A5EC2
accent
#40E76E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA223

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

Preview Lab → · Contrast checker → · Palette generator →

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