#7A9E2C#7A9E2C

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

Color values

HEX#7A9E2C
RGBrgb(122, 158, 44)
HSLhsl(79, 56%, 40%)
HSVhsv(79, 72%, 62%)
CMYKcmyk(22.8%, 0%, 72.2%, 38%)
CIE-LABlab(60.58, -29.23, 52.51)
CIE-LCHlch(60.58, 60.10, 119.10°)
OKLaboklab(65.02% -0.0843 0.1177)
OKLCHoklch(65.02% 0.145 125.6)
XYZxyz(20.7076, 28.7729, 6.8451)
Luminance0.2877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9E2C #502C9E
analogous
#9E892C #7A9E2C #419E2C
triadic
#7A9E2C #2C7A9E #9E2C7A
tetradic
#7A9E2C #2C9E89 #502C9E #9E2C41
square
#7A9E2C #2C9E89 #502C9E #9E2C41
split-complementary
#7A9E2C #2C419E #892C9E
monochromatic
#303E11 #556E1F #7A9E2C #9DC93E #B5D76E

Accessibility & contrast

On white

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

On black

6.75
#7A9E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9E2C
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9E2C#FFFFFF#000000##000000
##7A9E2C1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a9e2c;
/* rgb */ color: rgb(122, 158, 44);
/* oklch */ color: oklch(65.0% 0.145 125.6);
Tailwind
colors: {
  custom: {
    50: '#a4ba6d',
    500: '#7a9e2c',
    950: '#000000',
  },
}
SCSS
$custom: #7a9e2c;
$custom-light: #a4ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9e2c",
  "rgb": {
    "r": 122,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 78.947,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65024,
    "c": 0.14478,
    "h": 125.6
  },
  "luminance": 0.28773
}

Semantic roles & 50–950 ramp

primary
#7A9E2C
secondary
#8368BE
accent
#48E078
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7A9E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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