#7EA338#7EA338

#7EA338 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.141 H 126.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7EA338
RGBrgb(126, 163, 56)
HSLhsl(81, 49%, 43%)
HSVhsv(81, 66%, 64%)
CMYKcmyk(22.7%, 0%, 65.6%, 36.1%)
CIE-LABlab(62.44, -29.17, 49.67)
CIE-LCHlch(62.44, 57.60, 120.43°)
OKLaboklab(66.62% -0.0833 0.1134)
OKLCHoklch(66.62% 0.141 126.3)
XYZxyz(22.4152, 30.9152, 8.5269)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA338 #5D38A3
analogous
#A39238 #7EA338 #48A338
triadic
#7EA338 #387EA3 #A3387E
tetradic
#7EA338 #38A392 #5D38A3 #A33848
square
#7EA338 #38A392 #5D38A3 #A33848
split-complementary
#7EA338 #3848A3 #9238A3
monochromatic
#384819 #5B7528 #7EA338 #9DC454 #B7D482

Accessibility & contrast

On white

2.92
#7EA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7EA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA338
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA338#FFFFFF#000000##000000
##7EA3381.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982A
Deuteranopia (green-blind)
#A69640
Tritanopia (blue-blind)
#839C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea338;
/* rgb */ color: rgb(126, 163, 56);
/* oklch */ color: oklch(66.6% 0.141 126.3);
Tailwind
colors: {
  custom: {
    50: '#a6be74',
    500: '#7ea338',
    950: '#000000',
  },
}
SCSS
$custom: #7ea338;
$custom-light: #a6be74;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea338",
  "rgb": {
    "r": 126,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 80.748,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66622,
    "c": 0.14072,
    "h": 126.3
  },
  "luminance": 0.30916
}

Semantic roles & 50–950 ramp

primary
#7EA338
secondary
#9179BD
accent
#4FD87F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA338

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

Preview Lab → · Contrast checker → · Palette generator →

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