#7FB438#7FB438

#7FB438 is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.8% C 0.162 H 129.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7FB438
RGBrgb(127, 180, 56)
HSLhsl(86, 53%, 46%)
HSVhsv(86, 69%, 71%)
CMYKcmyk(29.4%, 0%, 68.9%, 29.4%)
CIE-LABlab(67.61, -36.68, 55.10)
CIE-LCHlch(67.61, 66.20, 123.65°)
OKLaboklab(70.83% -0.104 0.1248)
OKLCHoklch(70.83% 0.162 129.8)
XYZxyz(25.7873, 37.4393, 9.6085)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB438 #6D38B4
analogous
#B4AB38 #7FB438 #41B438
triadic
#7FB438 #387FB4 #B4387F
tetradic
#7FB438 #38B4AB #6D38B4 #B43841
square
#7FB438 #38B4AB #6D38B4 #B43841
split-complementary
#7FB438 #3841B4 #AB38B4
monochromatic
#3D571B #5E8529 #7FB438 #9DCD5D #B9DB8B

Accessibility & contrast

On white

2.47
#7FB438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#7FB438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB438
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB438#FFFFFF#000000##000000
##7FB4381.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#B5A343
Tritanopia (blue-blind)
#82AC9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb438;
/* rgb */ color: rgb(127, 180, 56);
/* oklch */ color: oklch(70.8% 0.162 129.8);
Tailwind
colors: {
  custom: {
    50: '#a8ca76',
    500: '#7fb438',
    950: '#000000',
  },
}
SCSS
$custom: #7fb438;
$custom-light: #a8ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb438",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 85.645,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70831,
    "c": 0.16247,
    "h": 129.8
  },
  "luminance": 0.3744
}

Semantic roles & 50–950 ramp

primary
#7FB438
secondary
#9F82C5
accent
#4CDC89
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB438

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

Preview Lab → · Contrast checker → · Palette generator →

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