#7AA228#7AA228

#7AA228 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.152 H 126.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7AA228
RGBrgb(122, 162, 40)
HSLhsl(80, 60%, 40%)
HSVhsv(80, 75%, 64%)
CMYKcmyk(24.7%, 0%, 75.3%, 36.5%)
CIE-LABlab(61.77, -31.36, 55.13)
CIE-LCHlch(61.77, 63.42, 119.63°)
OKLaboklab(65.98% -0.0904 0.1226)
OKLCHoklch(65.98% 0.152 126.4)
XYZxyz(21.3295, 30.1311, 6.6992)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA228 #5028A2
analogous
#A28D28 #7AA228 #3DA228
triadic
#7AA228 #287AA2 #A2287A
tetradic
#7AA228 #28A28D #5028A2 #A2283D
square
#7AA228 #28A28D #5028A2 #A2283D
split-complementary
#7AA228 #283DA2 #8D28A2
monochromatic
#304010 #55711C #7AA228 #9DCE39 #B5DA6A

Accessibility & contrast

On white

2.99
#7AA228 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7AA228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA228
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA228#FFFFFF#000000##000000
##7AA2281.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970D
Deuteranopia (green-blind)
#A59534
Tritanopia (blue-blind)
#7F9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7aa228;
/* rgb */ color: rgb(122, 162, 40);
/* oklch */ color: oklch(66.0% 0.152 126.4);
Tailwind
colors: {
  custom: {
    50: '#a4bd6b',
    500: '#7aa228',
    950: '#000000',
  },
}
SCSS
$custom: #7aa228;
$custom-light: #a4bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa228",
  "rgb": {
    "r": 122,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 79.672,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65978,
    "c": 0.15231,
    "h": 126.4
  },
  "luminance": 0.30131
}

Semantic roles & 50–950 ramp

primary
#7AA228
secondary
#8365C1
accent
#44E478
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA228

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

Preview Lab → · Contrast checker → · Palette generator →

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