#7CA822#7CA822

#7CA822 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.5% C 0.162 H 126.9°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7CA822
RGBrgb(124, 168, 34)
HSLhsl(80, 66%, 40%)
HSVhsv(80, 80%, 66%)
CMYKcmyk(26.2%, 0%, 79.8%, 34.1%)
CIE-LABlab(63.68, -33.66, 58.90)
CIE-LCHlch(63.68, 67.84, 119.74°)
OKLaboklab(67.55% -0.0973 0.1295)
OKLCHoklch(67.55% 0.162 126.9)
XYZxyz(22.6036, 32.4054, 6.5771)
Luminance0.3241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA822 #4E22A8
analogous
#A89122 #7CA822 #39A822
triadic
#7CA822 #227CA8 #A8227C
tetradic
#7CA822 #22A891 #4E22A8 #A82239
square
#7CA822 #22A891 #4E22A8 #A82239
split-complementary
#7CA822 #2239A8 #9122A8
monochromatic
#31420D #567518 #7CA822 #A0D532 #B7E065

Accessibility & contrast

On white

2.81
#7CA822 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7CA822 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA822
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA822#FFFFFF#000000##000000
##7CA8221.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB9930
Tritanopia (blue-blind)
#81A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ca822;
/* rgb */ color: rgb(124, 168, 34);
/* oklch */ color: oklch(67.5% 0.162 126.9);
Tailwind
colors: {
  custom: {
    50: '#a6c269',
    500: '#7ca822',
    950: '#000000',
  },
}
SCSS
$custom: #7ca822;
$custom-light: #a6c269;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca822",
  "rgb": {
    "r": 124,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 79.701,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67549,
    "c": 0.16193,
    "h": 126.9
  },
  "luminance": 0.32406
}

Semantic roles & 50–950 ramp

primary
#7CA822
secondary
#8261C5
accent
#3FE977
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA822

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

Preview Lab → · Contrast checker → · Palette generator →

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