#7FB738#7FB738

#7FB738 is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.6% C 0.166 H 130.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#7FB738
RGBrgb(127, 183, 56)
HSLhsl(86, 53%, 47%)
HSVhsv(86, 69%, 72%)
CMYKcmyk(30.6%, 0%, 69.4%, 28.2%)
CIE-LABlab(68.51, -38.03, 56.03)
CIE-LCHlch(68.51, 67.72, 124.16°)
OKLaboklab(71.56% -0.1076 0.1268)
OKLCHoklch(71.56% 0.166 130.3)
XYZxyz(26.3995, 38.6637, 9.8125)
Luminance0.3866 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB738 #7038B7
analogous
#B7B038 #7FB738 #3FB738
triadic
#7FB738 #387FB7 #B7387F
tetradic
#7FB738 #38B7B0 #7038B7 #B7383F
square
#7FB738 #38B7B0 #7038B7 #B7383F
split-complementary
#7FB738 #383FB7 #B038B7
monochromatic
#3E591B #5E882A #7FB738 #9DCE5E #B9DC8D

Accessibility & contrast

On white

2.40
#7FB738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#7FB738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB738
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB738#FFFFFF#000000##000000
##7FB7381.002.408.738.73
#FFFFFF2.401.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA24
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#82AF9E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #7fb738;
/* rgb */ color: rgb(127, 183, 56);
/* oklch */ color: oklch(71.6% 0.166 130.3);
Tailwind
colors: {
  custom: {
    50: '#a8cd76',
    500: '#7fb738',
    950: '#000000',
  },
}
SCSS
$custom: #7fb738;
$custom-light: #a8cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb738",
  "rgb": {
    "r": 127,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 86.457,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.16633,
    "h": 130.3
  },
  "luminance": 0.38665
}

Semantic roles & 50–950 ramp

primary
#7FB738
secondary
#A184C7
accent
#4BDD8B
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB738

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

Preview Lab → · Contrast checker → · Palette generator →

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