#7E9E28#7E9E28

#7E9E28 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.3% C 0.145 H 123.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#7E9E28
RGBrgb(126, 158, 40)
HSLhsl(76, 60%, 39%)
HSVhsv(76, 75%, 62%)
CMYKcmyk(20.3%, 0%, 74.7%, 38%)
CIE-LABlab(60.82, -27.82, 54.30)
CIE-LCHlch(60.82, 61.01, 117.13°)
OKLaboklab(65.28% -0.081 0.1207)
OKLCHoklch(65.28% 0.145 123.9)
XYZxyz(21.2143, 29.0424, 6.4952)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9E28 #48289E
analogous
#9E8328 #7E9E28 #439E28
triadic
#7E9E28 #287E9E #9E287E
tetradic
#7E9E28 #289E83 #48289E #9E2843
square
#7E9E28 #289E83 #48289E #9E2843
split-complementary
#7E9E28 #28439E #83289E
monochromatic
#303C0F #576D1C #7E9E28 #A4CC37 #BAD968

Accessibility & contrast

On white

3.08
#7E9E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#7E9E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9E28
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9E28#FFFFFF#000000##000000
##7E9E281.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79410
Deuteranopia (green-blind)
#A39233
Tritanopia (blue-blind)
#849687
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9e28;
/* rgb */ color: rgb(126, 158, 40);
/* oklch */ color: oklch(65.3% 0.145 123.9);
Tailwind
colors: {
  custom: {
    50: '#a7ba6b',
    500: '#7e9e28',
    950: '#000000',
  },
}
SCSS
$custom: #7e9e28;
$custom-light: #a7ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9e28",
  "rgb": {
    "r": 126,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 76.271,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65277,
    "c": 0.14538,
    "h": 123.9
  },
  "luminance": 0.29043
}

Semantic roles & 50–950 ramp

primary
#7E9E28
secondary
#7C63BF
accent
#45E370
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9E28

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

Preview Lab → · Contrast checker → · Palette generator →

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