#7FA338#7FA338

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

Color values

HEX#7FA338
RGBrgb(127, 163, 56)
HSLhsl(80, 49%, 43%)
HSVhsv(80, 66%, 64%)
CMYKcmyk(22.1%, 0%, 65.6%, 36.1%)
CIE-LABlab(62.50, -28.77, 49.76)
CIE-LCHlch(62.50, 57.47, 120.04°)
OKLaboklab(66.69% -0.0823 0.1136)
OKLCHoklch(66.69% 0.14 125.9)
XYZxyz(22.5635, 30.9916, 8.5339)
Luminance0.3099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA338 #5C38A3
analogous
#A39138 #7FA338 #49A338
triadic
#7FA338 #387FA3 #A3387F
tetradic
#7FA338 #38A391 #5C38A3 #A33849
square
#7FA338 #38A391 #5C38A3 #A33849
split-complementary
#7FA338 #3849A3 #9138A3
monochromatic
#384819 #5C7528 #7FA338 #9EC454 #B8D482

Accessibility & contrast

On white

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

On black

7.20
#7FA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA338
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA338#FFFFFF#000000##000000
##7FA3381.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa338;
/* rgb */ color: rgb(127, 163, 56);
/* oklch */ color: oklch(66.7% 0.140 125.9);
Tailwind
colors: {
  custom: {
    50: '#a7be74',
    500: '#7fa338',
    950: '#000000',
  },
}
SCSS
$custom: #7fa338;
$custom-light: #a7be74;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa338",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 80.187,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.14025,
    "h": 125.9
  },
  "luminance": 0.30992
}

Semantic roles & 50–950 ramp

primary
#7FA338
secondary
#9079BD
accent
#4FD87D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA338

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

Preview Lab → · Contrast checker → · Palette generator →

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