#7E9F22#7E9F22

#7E9F22 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.5% C 0.150 H 123.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7E9F22
RGBrgb(126, 159, 34)
HSLhsl(76, 65%, 38%)
HSVhsv(76, 79%, 62%)
CMYKcmyk(20.8%, 0%, 78.6%, 37.6%)
CIE-LABlab(61.09, -28.61, 56.57)
CIE-LCHlch(61.09, 63.39, 116.83°)
OKLaboklab(65.48% -0.0836 0.1245)
OKLCHoklch(65.48% 0.15 123.9)
XYZxyz(21.2913, 29.3472, 6.0559)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9F22 #43229F
analogous
#9F8122 #7E9F22 #3F9F22
triadic
#7E9F22 #227E9F #9F227E
tetradic
#7E9F22 #229F81 #43229F #9F223F
square
#7E9F22 #229F81 #43229F #9F223F
split-complementary
#7E9F22 #223F9F #81229F
monochromatic
#2E3A0C #566D17 #7E9F22 #A6D12D #BBDD5F

Accessibility & contrast

On white

3.06
#7E9F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#7E9F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9F22
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9F22#FFFFFF#000000##000000
##7E9F221.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#849788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9f22;
/* rgb */ color: rgb(126, 159, 34);
/* oklch */ color: oklch(65.5% 0.150 123.9);
Tailwind
colors: {
  custom: {
    50: '#a7bb68',
    500: '#7e9f22',
    950: '#000000',
  },
}
SCSS
$custom: #7e9f22;
$custom-light: #a7bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9f22",
  "rgb": {
    "r": 126,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 75.84,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65483,
    "c": 0.14997,
    "h": 123.9
  },
  "luminance": 0.29347
}

Semantic roles & 50–950 ramp

primary
#7E9F22
secondary
#765BC1
accent
#40E86C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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