#7EB238#7EB238

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

Color values

HEX#7EB238
RGBrgb(126, 178, 56)
HSLhsl(86, 52%, 46%)
HSVhsv(86, 69%, 70%)
CMYKcmyk(29.2%, 0%, 68.5%, 30.2%)
CIE-LABlab(66.95, -36.15, 54.41)
CIE-LCHlch(66.95, 65.32, 123.61°)
OKLaboklab(70.28% -0.1025 0.1234)
OKLCHoklch(70.28% 0.16 129.7)
XYZxyz(25.2383, 36.5612, 9.4679)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB238 #6C38B2
analogous
#B2A938 #7EB238 #41B238
triadic
#7EB238 #387EB2 #B2387E
tetradic
#7EB238 #38B2A9 #6C38B2 #B23841
square
#7EB238 #38B2A9 #6C38B2 #B23841
split-complementary
#7EB238 #3841B2 #A938B2
monochromatic
#3C551B #5D8329 #7EB238 #9CCC5C #B8DA8A

Accessibility & contrast

On white

2.53
#7EB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7EB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB238
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB238#FFFFFF#000000##000000
##7EB2381.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eb238;
/* rgb */ color: rgb(126, 178, 56);
/* oklch */ color: oklch(70.3% 0.160 129.7);
Tailwind
colors: {
  custom: {
    50: '#a7c975',
    500: '#7eb238',
    950: '#000000',
  },
}
SCSS
$custom: #7eb238;
$custom-light: #a7c975;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb238",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 85.574,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7028,
    "c": 0.1604,
    "h": 129.7
  },
  "luminance": 0.36562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7EB238

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

Preview Lab → · Contrast checker → · Palette generator →

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