#7AB042#7AB042

#7AB042 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.6% C 0.152 H 131.5°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7AB042
RGBrgb(122, 176, 66)
HSLhsl(89, 45%, 47%)
HSVhsv(89, 63%, 69%)
CMYKcmyk(30.7%, 0%, 62.5%, 31%)
CIE-LABlab(66.20, -35.95, 49.35)
CIE-LCHlch(66.20, 61.05, 126.07°)
OKLaboklab(69.64% -0.1008 0.1141)
OKLCHoklch(69.64% 0.152 131.5)
XYZxyz(24.5345, 35.5808, 10.7283)
Luminance0.3558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB042 #7842B0
analogous
#B0AF42 #7AB042 #43B042
triadic
#7AB042 #427AB0 #B0427A
tetradic
#7AB042 #42B0AF #7842B0 #B04243
square
#7AB042 #42B0AF #7842B0 #B04243
split-complementary
#7AB042 #4243B0 #AF42B0
monochromatic
#3C5721 #5B8331 #7AB042 #98C769 #B7D795

Accessibility & contrast

On white

2.59
#7AB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#7AB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB042
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB042#FFFFFF#000000##000000
##7AB0421.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A435
Deuteranopia (green-blind)
#B09F4A
Tritanopia (blue-blind)
#7CA999
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7ab042;
/* rgb */ color: rgb(122, 176, 66);
/* oklch */ color: oklch(69.6% 0.152 131.5);
Tailwind
colors: {
  custom: {
    50: '#a4c87b',
    500: '#7ab042',
    950: '#000000',
  },
}
SCSS
$custom: #7ab042;
$custom-light: #a4c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab042",
  "rgb": {
    "r": 122,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 89.455,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69638,
    "c": 0.15224,
    "h": 131.5
  },
  "luminance": 0.35582
}

Semantic roles & 50–950 ramp

primary
#7AB042
secondary
#A68BC3
accent
#53D593
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#0F130A
muted
#7F827C

Preview Lab

Preview with #7AB042

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

Preview Lab → · Contrast checker → · Palette generator →

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