#7FA236#7FA236

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

Color values

HEX#7FA236
RGBrgb(127, 162, 54)
HSLhsl(79, 50%, 42%)
HSVhsv(79, 67%, 64%)
CMYKcmyk(21.6%, 0%, 66.7%, 36.5%)
CIE-LABlab(62.18, -28.44, 50.26)
CIE-LCHlch(62.18, 57.75, 119.50°)
OKLaboklab(66.43% -0.0815 0.1144)
OKLCHoklch(66.43% 0.14 125.5)
XYZxyz(22.3387, 30.6188, 8.2224)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA236 #5936A2
analogous
#A28F36 #7FA236 #49A236
triadic
#7FA236 #367FA2 #A2367F
tetradic
#7FA236 #36A28F #5936A2 #A23649
square
#7FA236 #36A28F #5936A2 #A23649
split-complementary
#7FA236 #3649A2 #8F36A2
monochromatic
#374617 #5B7427 #7FA236 #9FC550 #B8D47E

Accessibility & contrast

On white

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

On black

7.12
#7FA236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA236
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA236#FFFFFF#000000##000000
##7FA2361.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa236;
/* rgb */ color: rgb(127, 162, 54);
/* oklch */ color: oklch(66.4% 0.140 125.5);
Tailwind
colors: {
  custom: {
    50: '#a7bd73',
    500: '#7fa236',
    950: '#000000',
  },
}
SCSS
$custom: #7fa236;
$custom-light: #a7bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa236",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 79.444,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6643,
    "c": 0.14047,
    "h": 125.5
  },
  "luminance": 0.30619
}

Semantic roles & 50–950 ramp

primary
#7FA236
secondary
#8D77BD
accent
#4EDA7B
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA236

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

Preview Lab → · Contrast checker → · Palette generator →

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