#7AB23C#7AB23C

#7AB23C is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.1% C 0.160 H 131.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7AB23C
RGBrgb(122, 178, 60)
HSLhsl(88, 50%, 47%)
HSVhsv(88, 66%, 70%)
CMYKcmyk(31.5%, 0%, 66.3%, 30.2%)
CIE-LABlab(66.75, -37.35, 52.51)
CIE-LCHlch(66.75, 64.44, 125.42°)
OKLaboklab(70.07% -0.1052 0.12)
OKLCHoklch(70.07% 0.16 131.2)
XYZxyz(24.7618, 36.3038, 9.9768)
Luminance0.3630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AB23C #743CB2
analogous
#B2AF3C #7AB23C #3FB23C
triadic
#7AB23C #3C7AB2 #B23C7A
tetradic
#7AB23C #3CB2AF #743CB2 #B23C3F
square
#7AB23C #3CB2AF #743CB2 #B23C3F
split-complementary
#7AB23C #3C3FB2 #AF3CB2
monochromatic
#3B561D #5B842D #7AB23C #98CA61 #B6D98F

Accessibility & contrast

On white

2.54
#7AB23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#7AB23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AB23C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AB23C#FFFFFF#000000##000000
##7AB23C1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52C
Deuteranopia (green-blind)
#B2A146
Tritanopia (blue-blind)
#7CAB9A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7ab23c;
/* rgb */ color: rgb(122, 178, 60);
/* oklch */ color: oklch(70.1% 0.160 131.2);
Tailwind
colors: {
  custom: {
    50: '#a4c978',
    500: '#7ab23c',
    950: '#000000',
  },
}
SCSS
$custom: #7ab23c;
$custom-light: #a4c978;
$custom-dark: #000000;
JSON
{
  "hex": "#7ab23c",
  "rgb": {
    "r": 122,
    "g": 178,
    "b": 60
  },
  "hsl": {
    "h": 88.475,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70072,
    "c": 0.15957,
    "h": 131.2
  },
  "luminance": 0.36305
}

Semantic roles & 50–950 ramp

primary
#7AB23C
secondary
#A386C4
accent
#4FD990
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7AB23C

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

Preview Lab → · Contrast checker → · Palette generator →

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