#7E9220#7E9220

#7E9220 is a light, vivid yellow-green. Relative luminance 0.251; OKLCH L 62.3% C 0.135 H 119.5°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7E9220
RGBrgb(126, 146, 32)
HSLhsl(71, 64%, 35%)
HSVhsv(71, 78%, 57%)
CMYKcmyk(13.7%, 0%, 78.1%, 42.7%)
CIE-LABlab(57.17, -22.30, 53.58)
CIE-LCHlch(57.17, 58.04, 112.59°)
OKLaboklab(62.32% -0.0665 0.1178)
OKLCHoklch(62.32% 0.135 119.5)
XYZxyz(19.1442, 25.0978, 5.2020)
Luminance0.2510 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9220 #342092
analogous
#926D20 #7E9220 #459220
triadic
#7E9220 #207E92 #92207E
tetradic
#7E9220 #20926D #342092 #922045
square
#7E9220 #20926D #342092 #922045
split-complementary
#7E9220 #204592 #6D2092
monochromatic
#272E0A #536015 #7E9220 #A9C42B #C2D953

Accessibility & contrast

On white

3.49
#7E9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#7E9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9220
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9220#FFFFFF#000000##000000
##7E92201.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8902
Deuteranopia (green-blind)
#998A2B
Tritanopia (blue-blind)
#868A7D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e9220;
/* rgb */ color: rgb(126, 146, 32);
/* oklch */ color: oklch(62.3% 0.135 119.5);
Tailwind
colors: {
  custom: {
    50: '#a7b265',
    500: '#7e9220',
    950: '#000000',
  },
}
SCSS
$custom: #7e9220;
$custom-light: #a7b265;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9220",
  "rgb": {
    "r": 126,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 70.526,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62317,
    "c": 0.13532,
    "h": 119.5
  },
  "luminance": 0.25098
}

Semantic roles & 50–950 ramp

primary
#7E9220
secondary
#6451BD
accent
#41E75E
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9220

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

Preview Lab → · Contrast checker → · Palette generator →

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