#7AAF28#7AAF28

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

Color values

HEX#7AAF28
RGBrgb(122, 175, 40)
HSLhsl(84, 63%, 42%)
HSVhsv(84, 77%, 69%)
CMYKcmyk(30.3%, 0%, 77.1%, 31.4%)
CIE-LABlab(65.71, -37.32, 58.89)
CIE-LCHlch(65.71, 69.71, 122.36°)
OKLaboklab(69.18% -0.1067 0.1305)
OKLCHoklch(69.18% 0.169 129.3)
XYZxyz(23.7390, 34.9500, 7.5024)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAF28 #5D28AF
analogous
#AFA128 #7AAF28 #36AF28
triadic
#7AAF28 #287AAF #AF287A
tetradic
#7AAF28 #28AFA1 #5D28AF #AF2836
square
#7AAF28 #28AFA1 #5D28AF #AF2836
split-complementary
#7AAF28 #2836AF #A128AF
monochromatic
#354B11 #577D1D #7AAF28 #9AD441 #B4DF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AAF28#FFFFFF#000000##000000
##7AAF281.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)
#B8A203
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#7EA796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7aaf28;
/* rgb */ color: rgb(122, 175, 40);
/* oklch */ color: oklch(69.2% 0.169 129.3);
Tailwind
colors: {
  custom: {
    50: '#a5c76d',
    500: '#7aaf28',
    950: '#000000',
  },
}
SCSS
$custom: #7aaf28;
$custom-light: #a5c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaf28",
  "rgb": {
    "r": 122,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 83.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69181,
    "c": 0.1685,
    "h": 129.3
  },
  "luminance": 0.34951
}

Semantic roles & 50–950 ramp

primary
#7AAF28
secondary
#906DC6
accent
#42E682
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7AAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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