#7FA838#7FA838

#7FA838 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 67.9% C 0.147 H 127.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#7FA838
RGBrgb(127, 168, 56)
HSLhsl(82, 50%, 44%)
HSVhsv(82, 67%, 66%)
CMYKcmyk(24.4%, 0%, 66.7%, 34.1%)
CIE-LABlab(64.00, -31.15, 51.34)
CIE-LCHlch(64.00, 60.05, 121.24°)
OKLaboklab(67.91% -0.0888 0.1169)
OKLCHoklch(67.91% 0.147 127.2)
XYZxyz(23.4689, 32.8024, 8.8357)
Luminance0.3280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA838 #6138A8
analogous
#A89938 #7FA838 #47A838
triadic
#7FA838 #387FA8 #A8387F
tetradic
#7FA838 #38A899 #6138A8 #A83847
square
#7FA838 #38A899 #6138A8 #A83847
split-complementary
#7FA838 #3847A8 #9938A8
monochromatic
#3A4C19 #5C7A29 #7FA838 #9EC756 #B8D684

Accessibility & contrast

On white

2.78
#7FA838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#7FA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA838
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA838#FFFFFF#000000##000000
##7FA8381.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D29
Deuteranopia (green-blind)
#AB9A41
Tritanopia (blue-blind)
#84A091
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa838;
/* rgb */ color: rgb(127, 168, 56);
/* oklch */ color: oklch(67.9% 0.147 127.2);
Tailwind
colors: {
  custom: {
    50: '#a7c274',
    500: '#7fa838',
    950: '#000000',
  },
}
SCSS
$custom: #7fa838;
$custom-light: #a7c274;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa838",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 81.964,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67905,
    "c": 0.14684,
    "h": 127.2
  },
  "luminance": 0.32803
}

Semantic roles & 50–950 ramp

primary
#7FA838
secondary
#957CC0
accent
#4EDA81
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA838

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

Preview Lab → · Contrast checker → · Palette generator →

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