#7AA840#7AA840

#7AA840 is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.7% C 0.143 H 129.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#7AA840
RGBrgb(122, 168, 64)
HSLhsl(87, 45%, 45%)
HSVhsv(87, 62%, 66%)
CMYKcmyk(27.4%, 0%, 61.9%, 34.1%)
CIE-LABlab(63.76, -32.44, 47.54)
CIE-LCHlch(63.76, 57.56, 124.31°)
OKLaboklab(67.66% -0.0913 0.11)
OKLCHoklch(67.66% 0.143 129.7)
XYZxyz(22.9539, 32.5124, 9.9157)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA840 #6E40A8
analogous
#A8A240 #7AA840 #46A840
triadic
#7AA840 #407AA8 #A8407A
tetradic
#7AA840 #40A8A2 #6E40A8 #A84046
square
#7AA840 #40A8A2 #6E40A8 #A84046
split-complementary
#7AA840 #4046A8 #A240A8
monochromatic
#3A4F1E #5A7C2F #7AA840 #98C362 #B5D48E

Accessibility & contrast

On white

2.80
#7AA840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#7AA840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA840
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA840#FFFFFF#000000##000000
##7AA8401.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D34
Deuteranopia (green-blind)
#A99948
Tritanopia (blue-blind)
#7DA192
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7aa840;
/* rgb */ color: rgb(122, 168, 64);
/* oklch */ color: oklch(67.7% 0.143 129.7);
Tailwind
colors: {
  custom: {
    50: '#a3c279',
    500: '#7aa840',
    950: '#000000',
  },
}
SCSS
$custom: #7aa840;
$custom-light: #a3c279;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa840",
  "rgb": {
    "r": 122,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 86.538,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.14299,
    "h": 129.7
  },
  "luminance": 0.32513
}

Semantic roles & 50–950 ramp

primary
#7AA840
secondary
#9F85BF
accent
#53D58C
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7AA840

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

Preview Lab → · Contrast checker → · Palette generator →

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