#7AB255#7AB255

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

Color values

HEX#7AB255
RGBrgb(122, 178, 85)
HSLhsl(96, 38%, 52%)
HSVhsv(96, 52%, 70%)
CMYKcmyk(31.5%, 0%, 52.2%, 30.2%)
CIE-LABlab(67.00, -34.92, 41.41)
CIE-LCHlch(67.00, 54.17, 130.14°)
OKLaboklab(70.36% -0.0965 0.0988)
OKLCHoklch(70.36% 0.138 134.3)
XYZxyz(25.5856, 36.6333, 14.3154)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB255 #8D55B2
analogous
#A9B255 #7AB255 #55B25F
triadic
#7AB255 #557AB2 #B2557A
tetradic
#7AB255 #55A9B2 #8D55B2 #B25F55
square
#7AB255 #55A9B2 #8D55B2 #B25F55
split-complementary
#7AB255 #5F55B2 #B255A9
monochromatic
#41612C #5D8B3F #7AB255 #9BC57F #BCD8A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AB255#FFFFFF#000000##000000
##7AB2551.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)
#B8A64D
Deuteranopia (green-blind)
#B0A15B
Tritanopia (blue-blind)
#7AAC9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7ab255;
/* rgb */ color: rgb(122, 178, 85);
/* oklch */ color: oklch(70.4% 0.138 134.3);
Tailwind
colors: {
  custom: {
    50: '#a3c987',
    500: '#7ab255',
    950: '#000000',
  },
}
SCSS
$custom: #7ab255;
$custom-light: #a3c987;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab255",
  "rgb": {
    "r": 122,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 96.129,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70355,
    "c": 0.13811,
    "h": 134.3
  },
  "luminance": 0.36634
}

Semantic roles & 50–950 ramp

primary
#7AB255
secondary
#B69DC6
accent
#5ACEA0
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7AB255

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

Preview Lab → · Contrast checker → · Palette generator →

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