#7CA122#7CA122

#7CA122 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.8% C 0.153 H 125.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7CA122
RGBrgb(124, 161, 34)
HSLhsl(77, 65%, 38%)
HSVhsv(77, 79%, 63%)
CMYKcmyk(23%, 0%, 78.9%, 36.9%)
CIE-LABlab(61.56, -30.38, 56.95)
CIE-LCHlch(61.56, 64.55, 118.08°)
OKLaboklab(65.83% -0.0884 0.1254)
OKLCHoklch(65.83% 0.153 125.2)
XYZxyz(21.3460, 29.8900, 6.1578)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA122 #4722A1
analogous
#A18622 #7CA122 #3DA122
triadic
#7CA122 #227CA1 #A1227C
tetradic
#7CA122 #22A186 #4722A1 #A1223D
square
#7CA122 #22A186 #4722A1 #A1223D
split-complementary
#7CA122 #223DA1 #8622A1
monochromatic
#2E3C0D #556E17 #7CA122 #A3D32D #B9DD60

Accessibility & contrast

On white

3.01
#7CA122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7CA122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA122
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA122#FFFFFF#000000##000000
##7CA1221.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#82998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca122;
/* rgb */ color: rgb(124, 161, 34);
/* oklch */ color: oklch(65.8% 0.153 125.2);
Tailwind
colors: {
  custom: {
    50: '#a6bd68',
    500: '#7ca122',
    950: '#000000',
  },
}
SCSS
$custom: #7ca122;
$custom-light: #a6bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca122",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 77.48,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65832,
    "c": 0.15337,
    "h": 125.2
  },
  "luminance": 0.2989
}

Semantic roles & 50–950 ramp

primary
#7CA122
secondary
#7A5DC2
accent
#40E871
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA122

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

Preview Lab → · Contrast checker → · Palette generator →

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