#7E9120#7E9120

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

Color values

HEX#7E9120
RGBrgb(126, 145, 32)
HSLhsl(70, 64%, 35%)
HSVhsv(70, 78%, 57%)
CMYKcmyk(13.1%, 0%, 77.9%, 43.1%)
CIE-LABlab(56.87, -21.79, 53.31)
CIE-LCHlch(56.87, 57.59, 112.24°)
OKLaboklab(62.08% -0.0651 0.1172)
OKLCHoklch(62.08% 0.134 119.1)
XYZxyz(18.9907, 24.7908, 5.1509)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9120 #332091
analogous
#916B20 #7E9120 #469120
triadic
#7E9120 #207E91 #91207E
tetradic
#7E9120 #20916B #332091 #912046
square
#7E9120 #20916B #332091 #912046
split-complementary
#7E9120 #204691 #6B2091
monochromatic
#272D0A #525F15 #7E9120 #AAC32B #C2D952

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E9120#FFFFFF#000000##000000
##7E91201.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)
#9B8803
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#86897C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e9120;
/* rgb */ color: rgb(126, 145, 32);
/* oklch */ color: oklch(62.1% 0.134 119.1);
Tailwind
colors: {
  custom: {
    50: '#a7b165',
    500: '#7e9120',
    950: '#000000',
  },
}
SCSS
$custom: #7e9120;
$custom-light: #a7b165;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9120",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 32
  },
  "hsl": {
    "h": 70.088,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62076,
    "c": 0.13412,
    "h": 119.1
  },
  "luminance": 0.24791
}

Semantic roles & 50–950 ramp

primary
#7E9120
secondary
#6351BC
accent
#41E75D
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9120

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

Preview Lab → · Contrast checker → · Palette generator →

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