#7FA635#7FA635

#7FA635 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.4% C 0.146 H 126.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7FA635
RGBrgb(127, 166, 53)
HSLhsl(81, 52%, 43%)
HSVhsv(81, 68%, 65%)
CMYKcmyk(23.5%, 0%, 68.1%, 34.9%)
CIE-LABlab(63.38, -30.42, 51.92)
CIE-LCHlch(63.38, 60.18, 120.37°)
OKLaboklab(67.39% -0.0871 0.1177)
OKLCHoklch(67.39% 0.146 126.5)
XYZxyz(23.0313, 32.0411, 8.3386)
Luminance0.3204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA635 #5C35A6
analogous
#A69435 #7FA635 #46A635
triadic
#7FA635 #357FA6 #A6357F
tetradic
#7FA635 #35A694 #5C35A6 #A63546
square
#7FA635 #35A694 #5C35A6 #A63546
split-complementary
#7FA635 #3546A6 #9435A6
monochromatic
#384917 #5C7826 #7FA635 #9EC751 #B8D67F

Accessibility & contrast

On white

2.83
#7FA635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#7FA635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA635
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA635#FFFFFF#000000##000000
##7FA6351.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B25
Deuteranopia (green-blind)
#A9993E
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa635;
/* rgb */ color: rgb(127, 166, 53);
/* oklch */ color: oklch(67.4% 0.146 126.5);
Tailwind
colors: {
  custom: {
    50: '#a7c073',
    500: '#7fa635',
    950: '#000000',
  },
}
SCSS
$custom: #7fa635;
$custom-light: #a7c073;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa635",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 53
  },
  "hsl": {
    "h": 80.708,
    "s": 51.598,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67392,
    "c": 0.14644,
    "h": 126.5
  },
  "luminance": 0.32042
}

Semantic roles & 50–950 ramp

primary
#7FA635
secondary
#9077BF
accent
#4DDB7E
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA635

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

Preview Lab → · Contrast checker → · Palette generator →

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