#7D9E2A#7D9E2A

#7D9E2A is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 65.2% C 0.145 H 124.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7D9E2A
RGBrgb(125, 158, 42)
HSLhsl(77, 58%, 39%)
HSVhsv(77, 73%, 62%)
CMYKcmyk(20.9%, 0%, 73.4%, 38%)
CIE-LABlab(60.76, -28.12, 53.50)
CIE-LCHlch(60.76, 60.44, 117.73°)
OKLaboklab(65.22% -0.0816 0.1194)
OKLCHoklch(65.22% 0.145 124.4)
XYZxyz(21.1024, 28.9807, 6.6721)
Luminance0.2898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9E2A #4B2A9E
analogous
#9E852A #7D9E2A #439E2A
triadic
#7D9E2A #2A7D9E #9E2A7D
tetradic
#7D9E2A #2A9E85 #4B2A9E #9E2A43
square
#7D9E2A #2A9E85 #4B2A9E #9E2A43
split-complementary
#7D9E2A #2A439E #852A9E
monochromatic
#313D10 #576E1D #7D9E2A #A2CB3A #B9D86B

Accessibility & contrast

On white

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

On black

6.80
#7D9E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9E2A
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9E2A#FFFFFF#000000##000000
##7D9E2A1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79414
Deuteranopia (green-blind)
#A39234
Tritanopia (blue-blind)
#839688
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7d9e2a;
/* rgb */ color: rgb(125, 158, 42);
/* oklch */ color: oklch(65.2% 0.145 124.4);
Tailwind
colors: {
  custom: {
    50: '#a6ba6c',
    500: '#7d9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7d9e2a;
$custom-light: #a6ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9e2a",
  "rgb": {
    "r": 125,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 77.069,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6522,
    "c": 0.14463,
    "h": 124.4
  },
  "luminance": 0.28981
}

Semantic roles & 50–950 ramp

primary
#7D9E2A
secondary
#7F66BE
accent
#47E173
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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