#7FB238#7FB238

#7FB238 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.160 H 129.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7FB238
RGBrgb(127, 178, 56)
HSLhsl(85, 52%, 46%)
HSVhsv(85, 69%, 70%)
CMYKcmyk(28.7%, 0%, 68.5%, 30.2%)
CIE-LABlab(67.00, -35.78, 54.48)
CIE-LCHlch(67.00, 65.18, 123.29°)
OKLaboklab(70.34% -0.1015 0.1235)
OKLCHoklch(70.34% 0.16 129.4)
XYZxyz(25.3865, 36.6377, 9.4749)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB238 #6B38B2
analogous
#B2A838 #7FB238 #42B238
triadic
#7FB238 #387FB2 #B2387F
tetradic
#7FB238 #38B2A8 #6B38B2 #B23842
square
#7FB238 #38B2A8 #6B38B2 #B23842
split-complementary
#7FB238 #3842B2 #A838B2
monochromatic
#3D551B #5E8329 #7FB238 #9DCC5C #B9DA8A

Accessibility & contrast

On white

2.52
#7FB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#7FB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB238
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB238#FFFFFF#000000##000000
##7FB2381.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#B3A242
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb238;
/* rgb */ color: rgb(127, 178, 56);
/* oklch */ color: oklch(70.3% 0.160 129.4);
Tailwind
colors: {
  custom: {
    50: '#a8c975',
    500: '#7fb238',
    950: '#000000',
  },
}
SCSS
$custom: #7fb238;
$custom-light: #a8c975;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb238",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 85.082,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70342,
    "c": 0.1599,
    "h": 129.4
  },
  "luminance": 0.36638
}

Semantic roles & 50–950 ramp

primary
#7FB238
secondary
#9D81C5
accent
#4CDC88
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB238

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

Preview Lab → · Contrast checker → · Palette generator →

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