#7E9C22#7E9C22

#7E9C22 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.8% C 0.146 H 123.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7E9C22
RGBrgb(126, 156, 34)
HSLhsl(75, 64%, 37%)
HSVhsv(75, 78%, 61%)
CMYKcmyk(19.2%, 0%, 78.2%, 38.8%)
CIE-LABlab(60.18, -27.16, 55.73)
CIE-LCHlch(60.18, 61.99, 115.98°)
OKLaboklab(64.75% -0.0797 0.1227)
OKLCHoklch(64.75% 0.146 123)
XYZxyz(20.7817, 28.3279, 5.8861)
Luminance0.2833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9C22 #40229C
analogous
#9C7D22 #7E9C22 #419C22
triadic
#7E9C22 #227E9C #9C227E
tetradic
#7E9C22 #229C7D #40229C #9C2241
square
#7E9C22 #229C7D #40229C #9C2241
split-complementary
#7E9C22 #22419C #7D229C
monochromatic
#2D380C #556A17 #7E9C22 #A7CE2D #BCDC5D

Accessibility & contrast

On white

3.15
#7E9C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#7E9C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9C22
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9C22#FFFFFF#000000##000000
##7E9C221.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#859485
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e9c22;
/* rgb */ color: rgb(126, 156, 34);
/* oklch */ color: oklch(64.8% 0.146 123.0);
Tailwind
colors: {
  custom: {
    50: '#a7b968',
    500: '#7e9c22',
    950: '#000000',
  },
}
SCSS
$custom: #7e9c22;
$custom-light: #a7b968;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9c22",
  "rgb": {
    "r": 126,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 74.754,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64753,
    "c": 0.14632,
    "h": 123
  },
  "luminance": 0.28328
}

Semantic roles & 50–950 ramp

primary
#7E9C22
secondary
#735AC0
accent
#41E76A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E9C22

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

Preview Lab → · Contrast checker → · Palette generator →

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