#7E9835#7E9835

#7E9835 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.9% C 0.129 H 122.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7E9835
RGBrgb(126, 152, 53)
HSLhsl(76, 48%, 40%)
HSVhsv(76, 65%, 60%)
CMYKcmyk(17.1%, 0%, 65.1%, 40.4%)
CIE-LABlab(59.11, -24.03, 47.41)
CIE-LCHlch(59.11, 53.15, 116.87°)
OKLaboklab(63.93% -0.0694 0.1083)
OKLCHoklch(63.93% 0.129 122.6)
XYZxyz(20.4752, 27.1491, 7.5291)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9835 #4F3598
analogous
#988135 #7E9835 #4C9835
triadic
#7E9835 #357E98 #98357E
tetradic
#7E9835 #359881 #4F3598 #98354C
square
#7E9835 #359881 #4F3598 #98354C
split-complementary
#7E9835 #354C98 #813598
monochromatic
#333D15 #586B25 #7E9835 #A1C04A #B9D078

Accessibility & contrast

On white

3.27
#7E9835 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#7E9835 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9835
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9835#FFFFFF#000000##000000
##7E98351.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F28
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#849184
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e9835;
/* rgb */ color: rgb(126, 152, 53);
/* oklch */ color: oklch(63.9% 0.129 122.6);
Tailwind
colors: {
  custom: {
    50: '#a6b671',
    500: '#7e9835',
    950: '#000000',
  },
}
SCSS
$custom: #7e9835;
$custom-light: #a6b671;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9835",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 53
  },
  "hsl": {
    "h": 75.758,
    "s": 48.293,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63928,
    "c": 0.12857,
    "h": 122.6
  },
  "luminance": 0.27149
}

Semantic roles & 50–950 ramp

primary
#7E9835
secondary
#8370B8
accent
#50D874
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9835

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

Preview Lab → · Contrast checker → · Palette generator →

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