#7D9F22#7D9F22

#7D9F22 is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.4% C 0.150 H 124.3°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#7D9F22
RGBrgb(125, 159, 34)
HSLhsl(76, 65%, 38%)
HSVhsv(76, 79%, 62%)
CMYKcmyk(21.4%, 0%, 78.6%, 37.6%)
CIE-LABlab(61.02, -29.02, 56.48)
CIE-LCHlch(61.02, 63.50, 117.20°)
OKLaboklab(65.41% -0.0847 0.1243)
OKLCHoklch(65.41% 0.15 124.3)
XYZxyz(21.1445, 29.2715, 6.0491)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9F22 #44229F
analogous
#9F8222 #7D9F22 #3E9F22
triadic
#7D9F22 #227D9F #9F227D
tetradic
#7D9F22 #229F82 #44229F #9F223E
square
#7D9F22 #229F82 #44229F #9F223E
split-complementary
#7D9F22 #223E9F #82229F
monochromatic
#2E3A0C #556D17 #7D9F22 #A5D12D #BADD5F

Accessibility & contrast

On white

3.06
#7D9F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#7D9F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9F22
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9F22#FFFFFF#000000##000000
##7D9F221.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#839788
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7d9f22;
/* rgb */ color: rgb(125, 159, 34);
/* oklch */ color: oklch(65.4% 0.150 124.3);
Tailwind
colors: {
  custom: {
    50: '#a6bb68',
    500: '#7d9f22',
    950: '#000000',
  },
}
SCSS
$custom: #7d9f22;
$custom-light: #a6bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9f22",
  "rgb": {
    "r": 125,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 76.32,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65412,
    "c": 0.15044,
    "h": 124.3
  },
  "luminance": 0.29272
}

Semantic roles & 50–950 ramp

primary
#7D9F22
secondary
#775BC1
accent
#40E86E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9F22

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

Preview Lab → · Contrast checker → · Palette generator →

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