#7E9937#7E9937

#7E9937 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.128 H 123.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7E9937
RGBrgb(126, 153, 55)
HSLhsl(77, 47%, 41%)
HSVhsv(77, 64%, 60%)
CMYKcmyk(17.6%, 0%, 64.1%, 40%)
CIE-LABlab(59.43, -24.37, 46.88)
CIE-LCHlch(59.43, 52.83, 117.47°)
OKLaboklab(64.19% -0.0701 0.1074)
OKLCHoklch(64.19% 0.128 123.1)
XYZxyz(20.6852, 27.4938, 7.8308)
Luminance0.2749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9937 #523799
analogous
#998337 #7E9937 #4D9937
triadic
#7E9937 #377E99 #99377E
tetradic
#7E9937 #379983 #523799 #99374D
square
#7E9937 #379983 #523799 #99374D
split-complementary
#7E9937 #374D99 #833799
monochromatic
#343F17 #596C27 #7E9937 #A0BF4E #B8D07B

Accessibility & contrast

On white

3.23
#7E9937 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#7E9937 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9937
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9937#FFFFFF#000000##000000
##7E99371.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2902B
Deuteranopia (green-blind)
#9E8F3E
Tritanopia (blue-blind)
#849285
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9937;
/* rgb */ color: rgb(126, 153, 55);
/* oklch */ color: oklch(64.2% 0.128 123.1);
Tailwind
colors: {
  custom: {
    50: '#a6b772',
    500: '#7e9937',
    950: '#000000',
  },
}
SCSS
$custom: #7e9937;
$custom-light: #a6b772;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9937",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 55
  },
  "hsl": {
    "h": 76.531,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64189,
    "c": 0.12826,
    "h": 123.1
  },
  "luminance": 0.27494
}

Semantic roles & 50–950 ramp

primary
#7E9937
secondary
#8673B9
accent
#51D776
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7E9937

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

Preview Lab → · Contrast checker → · Palette generator →

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