#7FB338#7FB338

#7FB338 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.6% C 0.161 H 129.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7FB338
RGBrgb(127, 179, 56)
HSLhsl(85, 52%, 46%)
HSVhsv(85, 69%, 70%)
CMYKcmyk(29.1%, 0%, 68.7%, 29.8%)
CIE-LABlab(67.30, -36.23, 54.79)
CIE-LCHlch(67.30, 65.69, 123.47°)
OKLaboklab(70.59% -0.1027 0.1242)
OKLCHoklch(70.59% 0.161 129.6)
XYZxyz(25.5862, 37.0370, 9.5414)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB338 #6C38B3
analogous
#B3A938 #7FB338 #41B338
triadic
#7FB338 #387FB3 #B3387F
tetradic
#7FB338 #38B3A9 #6C38B3 #B33841
square
#7FB338 #38B3A9 #6C38B3 #B33841
split-complementary
#7FB338 #3841B3 #A938B3
monochromatic
#3D561B #5E8429 #7FB338 #9DCC5C #B9DB8B

Accessibility & contrast

On white

2.50
#7FB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#7FB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB338
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB338#FFFFFF#000000##000000
##7FB3381.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B4A342
Tritanopia (blue-blind)
#82AB9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb338;
/* rgb */ color: rgb(127, 179, 56);
/* oklch */ color: oklch(70.6% 0.161 129.6);
Tailwind
colors: {
  custom: {
    50: '#a8ca75',
    500: '#7fb338',
    950: '#000000',
  },
}
SCSS
$custom: #7fb338;
$custom-light: #a8ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb338",
  "rgb": {
    "r": 127,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 85.366,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70586,
    "c": 0.16119,
    "h": 129.6
  },
  "luminance": 0.37038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FB338

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

Preview Lab → · Contrast checker → · Palette generator →

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