#7CA22B#7CA22B

#7CA22B is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.1% C 0.150 H 125.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7CA22B
RGBrgb(124, 162, 43)
HSLhsl(79, 58%, 40%)
HSVhsv(79, 73%, 64%)
CMYKcmyk(23.5%, 0%, 73.5%, 36.5%)
CIE-LABlab(61.91, -30.38, 54.24)
CIE-LCHlch(61.91, 62.17, 119.25°)
OKLaboklab(66.13% -0.0877 0.1211)
OKLCHoklch(66.13% 0.15 125.9)
XYZxyz(21.6687, 30.2998, 6.9919)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA22B #512BA2
analogous
#A28D2B #7CA22B #40A22B
triadic
#7CA22B #2B7CA2 #A22B7C
tetradic
#7CA22B #2BA28D #512BA2 #A22B40
square
#7CA22B #2BA28D #512BA2 #A22B40
split-complementary
#7CA22B #2B40A2 #8D2BA2
monochromatic
#324111 #57721E #7CA22B #9FCC3E #B7D96F

Accessibility & contrast

On white

2.97
#7CA22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7CA22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA22B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA22B#FFFFFF#000000##000000
##7CA22B1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9715
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#819A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca22b;
/* rgb */ color: rgb(124, 162, 43);
/* oklch */ color: oklch(66.1% 0.150 125.9);
Tailwind
colors: {
  custom: {
    50: '#a5bd6d',
    500: '#7ca22b',
    950: '#000000',
  },
}
SCSS
$custom: #7ca22b;
$custom-light: #a5bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca22b",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 79.16,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66134,
    "c": 0.14952,
    "h": 125.9
  },
  "luminance": 0.303
}

Semantic roles & 50–950 ramp

primary
#7CA22B
secondary
#8569C0
accent
#47E178
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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