#7AB256#7AB256

#7AB256 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.4% C 0.137 H 134.5°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7AB256
RGBrgb(122, 178, 86)
HSLhsl(97, 37%, 52%)
HSVhsv(97, 52%, 70%)
CMYKcmyk(31.5%, 0%, 51.7%, 30.2%)
CIE-LABlab(67.01, -34.81, 40.93)
CIE-LCHlch(67.01, 53.73, 130.38°)
OKLaboklab(70.37% -0.0961 0.0978)
OKLCHoklch(70.37% 0.137 134.5)
XYZxyz(25.6256, 36.6493, 14.5261)
Luminance0.3665 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB256 #8E56B2
analogous
#A8B256 #7AB256 #56B260
triadic
#7AB256 #567AB2 #B2567A
tetradic
#7AB256 #56A8B2 #8E56B2 #B26056
square
#7AB256 #56A8B2 #8E56B2 #B26056
split-complementary
#7AB256 #6056B2 #B256A8
monochromatic
#41612C #5D8B3F #7AB256 #9BC580 #BCD8AA

Accessibility & contrast

On white

2.52
#7AB256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#7AB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB256
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB256#FFFFFF#000000##000000
##7AB2561.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64E
Deuteranopia (green-blind)
#B0A15C
Tritanopia (blue-blind)
#7AAC9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ab256;
/* rgb */ color: rgb(122, 178, 86);
/* oklch */ color: oklch(70.4% 0.137 134.5);
Tailwind
colors: {
  custom: {
    50: '#a3c988',
    500: '#7ab256',
    950: '#000000',
  },
}
SCSS
$custom: #7ab256;
$custom-light: #a3c988;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab256",
  "rgb": {
    "r": 122,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 96.522,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.13714,
    "h": 134.5
  },
  "luminance": 0.3665
}

Semantic roles & 50–950 ramp

primary
#7AB256
secondary
#B69EC6
accent
#5ACDA0
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7AB256

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

Preview Lab → · Contrast checker → · Palette generator →

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