#7E9826#7E9826

#7E9826 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.8% C 0.139 H 121.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#7E9826
RGBrgb(126, 152, 38)
HSLhsl(74, 60%, 37%)
HSVhsv(74, 75%, 60%)
CMYKcmyk(17.1%, 0%, 75%, 40.4%)
CIE-LABlab(59.00, -25.00, 53.26)
CIE-LCHlch(59.00, 58.83, 115.14°)
OKLaboklab(63.81% -0.0734 0.1182)
OKLCHoklch(63.81% 0.139 121.9)
XYZxyz(20.1826, 27.0320, 5.9878)
Luminance0.2703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9826 #402698
analogous
#987926 #7E9826 #459826
triadic
#7E9826 #267E98 #98267E
tetradic
#7E9826 #269879 #402698 #982645
square
#7E9826 #269879 #402698 #982645
split-complementary
#7E9826 #264598 #792698
monochromatic
#2D360E #55671A #7E9826 #A7C932 #BCD761

Accessibility & contrast

On white

3.28
#7E9826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#7E9826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9826
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9826#FFFFFF#000000##000000
##7E98261.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F0E
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#859082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e9826;
/* rgb */ color: rgb(126, 152, 38);
/* oklch */ color: oklch(63.8% 0.139 121.9);
Tailwind
colors: {
  custom: {
    50: '#a7b669',
    500: '#7e9826',
    950: '#000000',
  },
}
SCSS
$custom: #7e9826;
$custom-light: #a7b669;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9826",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 73.684,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63807,
    "c": 0.13914,
    "h": 121.9
  },
  "luminance": 0.27032
}

Semantic roles & 50–950 ramp

primary
#7E9826
secondary
#735DBD
accent
#45E369
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9826

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

Preview Lab → · Contrast checker → · Palette generator →

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