#7E9121#7E9121

#7E9121 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#7E9121
RGBrgb(126, 145, 33)
HSLhsl(70, 63%, 35%)
HSVhsv(70, 77%, 57%)
CMYKcmyk(13.1%, 0%, 77.2%, 43.1%)
CIE-LABlab(56.88, -21.75, 52.98)
CIE-LCHlch(56.88, 57.27, 112.32°)
OKLaboklab(62.08% -0.0649 0.1167)
OKLCHoklch(62.08% 0.134 119.1)
XYZxyz(19.0045, 24.7964, 5.2236)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9121 #342191
analogous
#916C21 #7E9121 #469121
triadic
#7E9121 #217E91 #91217E
tetradic
#7E9121 #21916C #342191 #912146
square
#7E9121 #21916C #342191 #912146
split-complementary
#7E9121 #214691 #6C2191
monochromatic
#272D0A #535F16 #7E9121 #A9C32C #C2D854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7e9121;
/* rgb */ color: rgb(126, 145, 33);
/* oklch */ color: oklch(62.1% 0.134 119.1);
Tailwind
colors: {
  custom: {
    50: '#a7b166',
    500: '#7e9121',
    950: '#000000',
  },
}
SCSS
$custom: #7e9121;
$custom-light: #a7b166;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9121",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 70.179,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62082,
    "c": 0.13356,
    "h": 119.1
  },
  "luminance": 0.24796
}

Semantic roles & 50–950 ramp

primary
#7E9121
secondary
#6452BC
accent
#42E65E
background
#FAFAF6
surface
#F4F5EB
border
#CECFC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7E9121

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

Preview Lab → · Contrast checker → · Palette generator →

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