#7A9826#7A9826

#7A9826 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.5% C 0.141 H 123.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7A9826
RGBrgb(122, 152, 38)
HSLhsl(76, 60%, 37%)
HSVhsv(76, 75%, 60%)
CMYKcmyk(19.7%, 0%, 75%, 40.4%)
CIE-LABlab(58.73, -26.68, 52.90)
CIE-LCHlch(58.73, 59.25, 116.76°)
OKLaboklab(63.51% -0.0778 0.1175)
OKLCHoklch(63.51% 0.141 123.5)
XYZxyz(19.6044, 26.7339, 5.9607)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9826 #442698
analogous
#987D26 #7A9826 #419826
triadic
#7A9826 #267A98 #98267A
tetradic
#7A9826 #26987D #442698 #982641
square
#7A9826 #26987D #442698 #982641
split-complementary
#7A9826 #264198 #7D2698
monochromatic
#2B360E #53671A #7A9826 #A1C932 #B8D761

Accessibility & contrast

On white

3.31
#7A9826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7A9826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9826
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9826#FFFFFF#000000##000000
##7A98261.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0E
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#809082
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7a9826;
/* rgb */ color: rgb(122, 152, 38);
/* oklch */ color: oklch(63.5% 0.141 123.5);
Tailwind
colors: {
  custom: {
    50: '#a4b669',
    500: '#7a9826',
    950: '#000000',
  },
}
SCSS
$custom: #7a9826;
$custom-light: #a4b669;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9826",
  "rgb": {
    "r": 122,
    "g": 152,
    "b": 38
  },
  "hsl": {
    "h": 75.789,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63512,
    "c": 0.14097,
    "h": 123.5
  },
  "luminance": 0.26734
}

Semantic roles & 50–950 ramp

primary
#7A9826
secondary
#765DBD
accent
#45E36E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7A9826

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

Preview Lab → · Contrast checker → · Palette generator →

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