#7EAA38#7EAA38

#7EAA38 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.3% C 0.150 H 128.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7EAA38
RGBrgb(126, 170, 56)
HSLhsl(83, 50%, 44%)
HSVhsv(83, 67%, 67%)
CMYKcmyk(25.9%, 0%, 67.1%, 33.3%)
CIE-LABlab(64.54, -32.48, 51.89)
CIE-LCHlch(64.54, 61.22, 122.04°)
OKLaboklab(68.33% -0.0924 0.1181)
OKLCHoklch(68.33% 0.15 128)
XYZxyz(23.6927, 33.4701, 8.9527)
Luminance0.3347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAA38 #6438AA
analogous
#AA9D38 #7EAA38 #45AA38
triadic
#7EAA38 #387EAA #AA387E
tetradic
#7EAA38 #38AA9D #6438AA #AA3845
square
#7EAA38 #38AA9D #6438AA #AA3845
split-complementary
#7EAA38 #3845AA #9D38AA
monochromatic
#3A4E1A #5C7C29 #7EAA38 #9CC857 #B7D785

Accessibility & contrast

On white

2.73
#7EAA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#7EAA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAA38
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAA38#FFFFFF#000000##000000
##7EAA381.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E28
Deuteranopia (green-blind)
#AC9C41
Tritanopia (blue-blind)
#82A293
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7eaa38;
/* rgb */ color: rgb(126, 170, 56);
/* oklch */ color: oklch(68.3% 0.150 128.0);
Tailwind
colors: {
  custom: {
    50: '#a7c375',
    500: '#7eaa38',
    950: '#000000',
  },
}
SCSS
$custom: #7eaa38;
$custom-light: #a7c375;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaa38",
  "rgb": {
    "r": 126,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 83.158,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68326,
    "c": 0.14997,
    "h": 128
  },
  "luminance": 0.33471
}

Semantic roles & 50–950 ramp

primary
#7EAA38
secondary
#977DC1
accent
#4EDA84
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EAA38

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

Preview Lab → · Contrast checker → · Palette generator →

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