#7E9122#7E9122

#7E9122 is a light, vivid yellow-green. Relative luminance 0.248; OKLCH L 62.1% C 0.133 H 119.1°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7E9122
RGBrgb(126, 145, 34)
HSLhsl(70, 62%, 35%)
HSVhsv(70, 77%, 57%)
CMYKcmyk(13.1%, 0%, 76.6%, 43.1%)
CIE-LABlab(56.88, -21.70, 52.64)
CIE-LCHlch(56.88, 56.94, 112.40°)
OKLaboklab(62.09% -0.0647 0.1162)
OKLCHoklch(62.09% 0.133 119.1)
XYZxyz(19.0187, 24.8020, 5.2984)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9122 #352291
analogous
#916C22 #7E9122 #479122
triadic
#7E9122 #227E91 #91227E
tetradic
#7E9122 #22916C #352291 #912247
square
#7E9122 #22916C #352291 #912247
split-complementary
#7E9122 #224791 #6C2291
monochromatic
#282E0B #535F16 #7E9122 #A9C32E #C1D756

Accessibility & contrast

On white

3.52
#7E9122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7E9122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9122
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9122#FFFFFF#000000##000000
##7E91221.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8808
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#86897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9122;
/* rgb */ color: rgb(126, 145, 34);
/* oklch */ color: oklch(62.1% 0.133 119.1);
Tailwind
colors: {
  custom: {
    50: '#a7b166',
    500: '#7e9122',
    950: '#000000',
  },
}
SCSS
$custom: #7e9122;
$custom-light: #a7b166;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9122",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 70.27,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62088,
    "c": 0.13299,
    "h": 119.1
  },
  "luminance": 0.24802
}

Semantic roles & 50–950 ramp

primary
#7E9122
secondary
#6553BB
accent
#43E55F
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9122

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

Preview Lab → · Contrast checker → · Palette generator →

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