#7FA738#7FA738

#7FA738 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.7% C 0.146 H 127.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7FA738
RGBrgb(127, 167, 56)
HSLhsl(82, 50%, 44%)
HSVhsv(82, 66%, 65%)
CMYKcmyk(24%, 0%, 66.5%, 34.5%)
CIE-LABlab(63.70, -30.68, 51.03)
CIE-LCHlch(63.70, 59.54, 121.01°)
OKLaboklab(67.66% -0.0875 0.1163)
OKLCHoklch(67.66% 0.146 127)
XYZxyz(23.2849, 32.4346, 8.7743)
Luminance0.3244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA738 #6038A7
analogous
#A79738 #7FA738 #47A738
triadic
#7FA738 #387FA7 #A7387F
tetradic
#7FA738 #38A797 #6038A7 #A73847
square
#7FA738 #38A797 #6038A7 #A73847
split-complementary
#7FA738 #3847A7 #9738A7
monochromatic
#394B19 #5C7929 #7FA738 #9EC656 #B8D684

Accessibility & contrast

On white

2.80
#7FA738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#7FA738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA738
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA738#FFFFFF#000000##000000
##7FA7381.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C29
Deuteranopia (green-blind)
#AA9A41
Tritanopia (blue-blind)
#849F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa738;
/* rgb */ color: rgb(127, 167, 56);
/* oklch */ color: oklch(67.7% 0.146 127.0);
Tailwind
colors: {
  custom: {
    50: '#a7c174',
    500: '#7fa738',
    950: '#000000',
  },
}
SCSS
$custom: #7fa738;
$custom-light: #a7c174;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa738",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 81.622,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67662,
    "c": 0.14552,
    "h": 127
  },
  "luminance": 0.32435
}

Semantic roles & 50–950 ramp

primary
#7FA738
secondary
#947BBF
accent
#4FD981
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA738

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

Preview Lab → · Contrast checker → · Palette generator →

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