#7AAA27#7AAA27

#7AAA27 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.9% C 0.163 H 128.2°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7AAA27
RGBrgb(122, 170, 39)
HSLhsl(82, 63%, 41%)
HSVhsv(82, 77%, 67%)
CMYKcmyk(28.2%, 0%, 77.1%, 33.3%)
CIE-LABlab(64.19, -35.11, 57.77)
CIE-LCHlch(64.19, 67.61, 121.29°)
OKLaboklab(67.94% -0.1008 0.1279)
OKLCHoklch(67.94% 0.163 128.2)
XYZxyz(22.7670, 33.0330, 7.0956)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAA27 #5727AA
analogous
#AA9827 #7AAA27 #38AA27
triadic
#7AAA27 #277AAA #AA277A
tetradic
#7AAA27 #27AA98 #5727AA #AA2738
square
#7AAA27 #27AA98 #5727AA #AA2738
split-complementary
#7AAA27 #2738AA #9827AA
monochromatic
#334610 #56781C #7AAA27 #9BD23C #B5DE6E

Accessibility & contrast

On white

2.76
#7AAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7AAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAA27
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAA27#FFFFFF#000000##000000
##7AAA271.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E04
Deuteranopia (green-blind)
#AC9B34
Tritanopia (blue-blind)
#7EA291
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aaa27;
/* rgb */ color: rgb(122, 170, 39);
/* oklch */ color: oklch(67.9% 0.163 128.2);
Tailwind
colors: {
  custom: {
    50: '#a5c36c',
    500: '#7aaa27',
    950: '#000000',
  },
}
SCSS
$custom: #7aaa27;
$custom-light: #a5c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaa27",
  "rgb": {
    "r": 122,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 81.985,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67941,
    "c": 0.16285,
    "h": 128.2
  },
  "luminance": 0.33034
}

Semantic roles & 50–950 ramp

primary
#7AAA27
secondary
#8A69C4
accent
#42E67E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7AAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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