#7E9B22#7E9B22

#7E9B22 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.145 H 122.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#7E9B22
RGBrgb(126, 155, 34)
HSLhsl(74, 64%, 37%)
HSVhsv(74, 78%, 61%)
CMYKcmyk(18.7%, 0%, 78.1%, 39.2%)
CIE-LABlab(59.88, -26.67, 55.45)
CIE-LCHlch(59.88, 61.53, 115.69°)
OKLaboklab(64.51% -0.0784 0.1221)
OKLCHoklch(64.51% 0.145 122.7)
XYZxyz(20.6146, 27.9937, 5.8304)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9B22 #3F229B
analogous
#9B7C22 #7E9B22 #429B22
triadic
#7E9B22 #227E9B #9B227E
tetradic
#7E9B22 #229B7C #3F229B #9B2242
square
#7E9B22 #229B7C #3F229B #9B2242
split-complementary
#7E9B22 #22429B #7C229B
monochromatic
#2C370C #556917 #7E9B22 #A7CD2D #BDDB5C

Accessibility & contrast

On white

3.18
#7E9B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#7E9B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9B22
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9B22#FFFFFF#000000##000000
##7E9B221.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49101
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#859384
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9b22;
/* rgb */ color: rgb(126, 155, 34);
/* oklch */ color: oklch(64.5% 0.145 122.7);
Tailwind
colors: {
  custom: {
    50: '#a7b868',
    500: '#7e9b22',
    950: '#000000',
  },
}
SCSS
$custom: #7e9b22;
$custom-light: #a7b868;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9b22",
  "rgb": {
    "r": 126,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 74.38,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6451,
    "c": 0.1451,
    "h": 122.7
  },
  "luminance": 0.27994
}

Semantic roles & 50–950 ramp

primary
#7E9B22
secondary
#7259C0
accent
#41E769
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9B22

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

Preview Lab → · Contrast checker → · Palette generator →

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