#7FA634#7FA634

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

Color values

HEX#7FA634
RGBrgb(127, 166, 52)
HSLhsl(81, 52%, 43%)
HSVhsv(81, 69%, 65%)
CMYKcmyk(23.5%, 0%, 68.7%, 34.9%)
CIE-LABlab(63.37, -30.49, 52.32)
CIE-LCHlch(63.37, 60.56, 120.23°)
OKLaboklab(67.38% -0.0874 0.1184)
OKLCHoklch(67.38% 0.147 126.4)
XYZxyz(23.0085, 32.0320, 8.2188)
Luminance0.3203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA634 #5B34A6
analogous
#A69434 #7FA634 #46A634
triadic
#7FA634 #347FA6 #A6347F
tetradic
#7FA634 #34A694 #5B34A6 #A63446
square
#7FA634 #34A694 #5B34A6 #A63446
split-complementary
#7FA634 #3446A6 #9434A6
monochromatic
#384917 #5B7725 #7FA634 #9FC84F #B8D77E

Accessibility & contrast

On white

2.84
#7FA634 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA634#FFFFFF#000000##000000
##7FA6341.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa634;
/* rgb */ color: rgb(127, 166, 52);
/* oklch */ color: oklch(67.4% 0.147 126.4);
Tailwind
colors: {
  custom: {
    50: '#a7c072',
    500: '#7fa634',
    950: '#000000',
  },
}
SCSS
$custom: #7fa634;
$custom-light: #a7c072;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa634",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 52
  },
  "hsl": {
    "h": 80.526,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67384,
    "c": 0.14716,
    "h": 126.4
  },
  "luminance": 0.32032
}

Semantic roles & 50–950 ramp

primary
#7FA634
secondary
#8F76C0
accent
#4CDC7D
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA634

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

Preview Lab → · Contrast checker → · Palette generator →

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