#7AB231#7AB231

#7AB231 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.0% C 0.167 H 130.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#7AB231
RGBrgb(122, 178, 49)
HSLhsl(86, 57%, 45%)
HSVhsv(86, 72%, 70%)
CMYKcmyk(31.5%, 0%, 72.5%, 30.2%)
CIE-LABlab(66.67, -38.13, 56.72)
CIE-LCHlch(66.67, 68.35, 123.91°)
OKLaboklab(69.98% -0.1082 0.1273)
OKLCHoklch(69.98% 0.167 130.4)
XYZxyz(24.5007, 36.1993, 8.6014)
Luminance0.3620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB231 #6931B2
analogous
#B2AA31 #7AB231 #39B231
triadic
#7AB231 #317AB2 #B2317A
tetradic
#7AB231 #31B2AA #6931B2 #B23139
square
#7AB231 #31B2AA #6931B2 #B23139
split-complementary
#7AB231 #3139B2 #AA31B2
monochromatic
#385217 #598224 #7AB231 #98CF51 #B5DC81

Accessibility & contrast

On white

2.55
#7AB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#7AB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB231
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB231#FFFFFF#000000##000000
##7AB2311.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51A
Deuteranopia (green-blind)
#B2A13D
Tritanopia (blue-blind)
#7DAA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ab231;
/* rgb */ color: rgb(122, 178, 49);
/* oklch */ color: oklch(70.0% 0.167 130.4);
Tailwind
colors: {
  custom: {
    50: '#a5c972',
    500: '#7ab231',
    950: '#000000',
  },
}
SCSS
$custom: #7ab231;
$custom-light: #a5c972;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab231",
  "rgb": {
    "r": 122,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 86.047,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69981,
    "c": 0.16707,
    "h": 130.4
  },
  "luminance": 0.362
}

Semantic roles & 50–950 ramp

primary
#7AB231
secondary
#9A79C5
accent
#48E08A
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AB231

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

Preview Lab → · Contrast checker → · Palette generator →

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