#7A9B2E#7A9B2E

#7A9B2E is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 64.3% C 0.140 H 124.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7A9B2E
RGBrgb(122, 155, 46)
HSLhsl(78, 54%, 39%)
HSVhsv(78, 70%, 61%)
CMYKcmyk(21.3%, 0%, 70.3%, 39.2%)
CIE-LABlab(59.69, -27.65, 50.84)
CIE-LCHlch(59.69, 57.87, 118.54°)
OKLaboklab(64.31% -0.0798 0.1145)
OKLCHoklch(64.31% 0.14 124.9)
XYZxyz(20.2407, 27.7773, 6.8794)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9B2E #4F2E9B
analogous
#9B862E #7A9B2E #449B2E
triadic
#7A9B2E #2E7A9B #9B2E7A
tetradic
#7A9B2E #2E9B86 #4F2E9B #9B2E44
square
#7A9B2E #2E9B86 #4F2E9B #9B2E44
split-complementary
#7A9B2E #2E449B #862E9B
monochromatic
#303D12 #556C20 #7A9B2E #9EC640 #B6D46F

Accessibility & contrast

On white

3.20
#7A9B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#7A9B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9B2E
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9B2E#FFFFFF#000000##000000
##7A9B2E1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911D
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#809385
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7a9b2e;
/* rgb */ color: rgb(122, 155, 46);
/* oklch */ color: oklch(64.3% 0.140 124.9);
Tailwind
colors: {
  custom: {
    50: '#a4b86d',
    500: '#7a9b2e',
    950: '#000000',
  },
}
SCSS
$custom: #7a9b2e;
$custom-light: #a4b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9b2e",
  "rgb": {
    "r": 122,
    "g": 155,
    "b": 46
  },
  "hsl": {
    "h": 78.165,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64305,
    "c": 0.13957,
    "h": 124.9
  },
  "luminance": 0.27778
}

Semantic roles & 50–950 ramp

primary
#7A9B2E
secondary
#8269BC
accent
#4ADE77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #7A9B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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