#7A9E2F#7A9E2F

#7A9E2F is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.0% C 0.143 H 125.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7A9E2F
RGBrgb(122, 158, 47)
HSLhsl(79, 54%, 40%)
HSVhsv(79, 70%, 62%)
CMYKcmyk(22.8%, 0%, 70.3%, 38%)
CIE-LABlab(60.60, -29.03, 51.37)
CIE-LCHlch(60.60, 59.01, 119.47°)
OKLaboklab(65.05% -0.0835 0.1158)
OKLCHoklch(65.05% 0.143 125.8)
XYZxyz(20.7661, 28.7962, 7.1530)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9E2F #532F9E
analogous
#9E8A2F #7A9E2F #439E2F
triadic
#7A9E2F #2F7A9E #9E2F7A
tetradic
#7A9E2F #2F9E8A #532F9E #9E2F43
square
#7A9E2F #2F9E8A #532F9E #9E2F43
split-complementary
#7A9E2F #2F439E #8A2F9E
monochromatic
#314013 #566F21 #7A9E2F #9CC743 #B5D572

Accessibility & contrast

On white

3.11
#7A9E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#7A9E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9E2F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9E2F#FFFFFF#000000##000000
##7A9E2F1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#7F9688
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7a9e2f;
/* rgb */ color: rgb(122, 158, 47);
/* oklch */ color: oklch(65.0% 0.143 125.8);
Tailwind
colors: {
  custom: {
    50: '#a4ba6e',
    500: '#7a9e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7a9e2f;
$custom-light: #a4ba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9e2f",
  "rgb": {
    "r": 122,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 79.459,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65047,
    "c": 0.14274,
    "h": 125.8
  },
  "luminance": 0.28797
}

Semantic roles & 50–950 ramp

primary
#7A9E2F
secondary
#866CBD
accent
#4ADE7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #7A9E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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