#7AA227#7AA227

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

Color values

HEX#7AA227
RGBrgb(122, 162, 39)
HSLhsl(80, 61%, 39%)
HSVhsv(80, 76%, 64%)
CMYKcmyk(24.7%, 0%, 75.9%, 36.5%)
CIE-LABlab(61.76, -31.41, 55.46)
CIE-LCHlch(61.76, 63.74, 119.53°)
OKLaboklab(65.97% -0.0907 0.1231)
OKLCHoklch(65.97% 0.153 126.4)
XYZxyz(21.3127, 30.1244, 6.6108)
Luminance0.3013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA227 #4F27A2
analogous
#A28D27 #7AA227 #3DA227
triadic
#7AA227 #277AA2 #A2277A
tetradic
#7AA227 #27A28D #4F27A2 #A2273D
square
#7AA227 #27A28D #4F27A2 #A2273D
split-complementary
#7AA227 #273DA2 #8D27A2
monochromatic
#303F0F #55711B #7AA227 #9ECF37 #B6DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7AA227#FFFFFF#000000##000000
##7AA2271.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)
#AB970B
Deuteranopia (green-blind)
#A59533
Tritanopia (blue-blind)
#7F9A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7aa227;
/* rgb */ color: rgb(122, 162, 39);
/* oklch */ color: oklch(66.0% 0.153 126.4);
Tailwind
colors: {
  custom: {
    50: '#a4bd6b',
    500: '#7aa227',
    950: '#000000',
  },
}
SCSS
$custom: #7aa227;
$custom-light: #a4bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa227",
  "rgb": {
    "r": 122,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 79.512,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.15289,
    "h": 126.4
  },
  "luminance": 0.30125
}

Semantic roles & 50–950 ramp

primary
#7AA227
secondary
#8264C1
accent
#43E478
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AA227

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

Preview Lab → · Contrast checker → · Palette generator →

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