#7FA336#7FA336

#7FA336 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.7% C 0.142 H 125.8°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7FA336
RGBrgb(127, 163, 54)
HSLhsl(80, 50%, 43%)
HSVhsv(80, 67%, 64%)
CMYKcmyk(22.1%, 0%, 66.9%, 36.1%)
CIE-LABlab(62.48, -28.92, 50.58)
CIE-LCHlch(62.48, 58.26, 119.76°)
OKLaboklab(66.67% -0.0828 0.1151)
OKLCHoklch(66.67% 0.142 125.8)
XYZxyz(22.5155, 30.9725, 8.2814)
Luminance0.3097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA336 #5A36A3
analogous
#A39136 #7FA336 #48A336
triadic
#7FA336 #367FA3 #A3367F
tetradic
#7FA336 #36A391 #5A36A3 #A33648
square
#7FA336 #36A391 #5A36A3 #A33648
split-complementary
#7FA336 #3648A3 #9136A3
monochromatic
#374718 #5B7527 #7FA336 #9FC551 #B8D57F

Accessibility & contrast

On white

2.92
#7FA336 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7FA336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA336
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA336#FFFFFF#000000##000000
##7FA3361.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9827
Deuteranopia (green-blind)
#A7973F
Tritanopia (blue-blind)
#849B8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa336;
/* rgb */ color: rgb(127, 163, 54);
/* oklch */ color: oklch(66.7% 0.142 125.8);
Tailwind
colors: {
  custom: {
    50: '#a7be73',
    500: '#7fa336',
    950: '#000000',
  },
}
SCSS
$custom: #7fa336;
$custom-light: #a7be73;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa336",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 54
  },
  "hsl": {
    "h": 79.817,
    "s": 50.23,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66672,
    "c": 0.14178,
    "h": 125.8
  },
  "luminance": 0.30973
}

Semantic roles & 50–950 ramp

primary
#7FA336
secondary
#8E77BE
accent
#4EDA7C
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA336

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

Preview Lab → · Contrast checker → · Palette generator →

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