#7D9E22#7D9E22

#7D9E22 is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 65.2% C 0.149 H 124.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7D9E22
RGBrgb(125, 158, 34)
HSLhsl(76, 65%, 38%)
HSVhsv(76, 78%, 62%)
CMYKcmyk(20.9%, 0%, 78.5%, 38%)
CIE-LABlab(60.72, -28.54, 56.20)
CIE-LCHlch(60.72, 63.03, 116.92°)
OKLaboklab(65.17% -0.0834 0.1237)
OKLCHoklch(65.17% 0.149 124)
XYZxyz(20.9733, 28.9290, 5.9920)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9E22 #43229E
analogous
#9E8122 #7D9E22 #3F9E22
triadic
#7D9E22 #227D9E #9E227D
tetradic
#7D9E22 #229E81 #43229E #9E223F
square
#7D9E22 #229E81 #43229E #9E223F
split-complementary
#7D9E22 #223F9E #81229E
monochromatic
#2D390C #556C17 #7D9E22 #A5D02D #BBDC5E

Accessibility & contrast

On white

3.09
#7D9E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#7D9E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9E22
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9E22#FFFFFF#000000##000000
##7D9E221.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#839687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9e22;
/* rgb */ color: rgb(125, 158, 34);
/* oklch */ color: oklch(65.2% 0.149 124.0);
Tailwind
colors: {
  custom: {
    50: '#a6ba68',
    500: '#7d9e22',
    950: '#000000',
  },
}
SCSS
$custom: #7d9e22;
$custom-light: #a6ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9e22",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 75.968,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65168,
    "c": 0.14922,
    "h": 124
  },
  "luminance": 0.28929
}

Semantic roles & 50–950 ramp

primary
#7D9E22
secondary
#765BC1
accent
#40E86D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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