#7AAF26#7AAF26

#7AAF26 is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 69.2% C 0.170 H 129.2°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7AAF26
RGBrgb(122, 175, 38)
HSLhsl(83, 64%, 42%)
HSVhsv(83, 78%, 69%)
CMYKcmyk(30.3%, 0%, 78.3%, 31.4%)
CIE-LABlab(65.70, -37.42, 59.51)
CIE-LCHlch(65.70, 70.30, 122.16°)
OKLaboklab(69.17% -0.1071 0.1314)
OKLCHoklch(69.17% 0.17 129.2)
XYZxyz(23.7058, 34.9368, 7.3278)
Luminance0.3494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAF26 #5B26AF
analogous
#AFA026 #7AAF26 #35AF26
triadic
#7AAF26 #267AAF #AF267A
tetradic
#7AAF26 #26AFA0 #5B26AF #AF2635
square
#7AAF26 #26AFA0 #5B26AF #AF2635
split-complementary
#7AAF26 #2635AF #A026AF
monochromatic
#344A10 #577D1B #7AAF26 #9AD53D #B4E070

Accessibility & contrast

On white

2.63
#7AAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#7AAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAF26
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAF26#FFFFFF#000000##000000
##7AAF261.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#7EA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7aaf26;
/* rgb */ color: rgb(122, 175, 38);
/* oklch */ color: oklch(69.2% 0.170 129.2);
Tailwind
colors: {
  custom: {
    50: '#a5c76c',
    500: '#7aaf26',
    950: '#000000',
  },
}
SCSS
$custom: #7aaf26;
$custom-light: #a5c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaf26",
  "rgb": {
    "r": 122,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 83.212,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6917,
    "c": 0.16954,
    "h": 129.2
  },
  "luminance": 0.34937
}

Semantic roles & 50–950 ramp

primary
#7AAF26
secondary
#8E6AC7
accent
#40E781
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7AAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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