#7E9A22#7E9A22

#7E9A22 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.144 H 122.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7E9A22
RGBrgb(126, 154, 34)
HSLhsl(74, 64%, 37%)
HSVhsv(74, 78%, 60%)
CMYKcmyk(18.2%, 0%, 77.9%, 39.6%)
CIE-LABlab(59.58, -26.18, 55.17)
CIE-LCHlch(59.58, 61.07, 115.39°)
OKLaboklab(64.27% -0.077 0.1215)
OKLCHoklch(64.27% 0.144 122.4)
XYZxyz(20.4488, 27.6623, 5.7751)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9A22 #3E229A
analogous
#9A7A22 #7E9A22 #429A22
triadic
#7E9A22 #227E9A #9A227E
tetradic
#7E9A22 #229A7A #3E229A #9A2242
square
#7E9A22 #229A7A #3E229A #9A2242
split-complementary
#7E9A22 #22429A #7A229A
monochromatic
#2C360C #556817 #7E9A22 #A7CC2D #BDDB5B

Accessibility & contrast

On white

3.21
#7E9A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7E9A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9A22
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9A22#FFFFFF#000000##000000
##7E9A221.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39002
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#859284
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9a22;
/* rgb */ color: rgb(126, 154, 34);
/* oklch */ color: oklch(64.3% 0.144 122.4);
Tailwind
colors: {
  custom: {
    50: '#a7b767',
    500: '#7e9a22',
    950: '#000000',
  },
}
SCSS
$custom: #7e9a22;
$custom-light: #a7b767;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9a22",
  "rgb": {
    "r": 126,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 74,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64267,
    "c": 0.14388,
    "h": 122.4
  },
  "luminance": 0.27662
}

Semantic roles & 50–950 ramp

primary
#7E9A22
secondary
#7058BF
accent
#41E768
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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