#7CA22F#7CA22F

#7CA22F is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.2% C 0.147 H 126.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7CA22F
RGBrgb(124, 162, 47)
HSLhsl(80, 55%, 41%)
HSVhsv(80, 71%, 64%)
CMYKcmyk(23.5%, 0%, 71%, 36.5%)
CIE-LABlab(61.94, -30.13, 52.77)
CIE-LCHlch(61.94, 60.77, 119.73°)
OKLaboklab(66.16% -0.0866 0.1187)
OKLCHoklch(66.16% 0.147 126.1)
XYZxyz(21.7457, 30.3307, 7.3975)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA22F #552FA2
analogous
#A28E2F #7CA22F #42A22F
triadic
#7CA22F #2F7CA2 #A22F7C
tetradic
#7CA22F #2FA28E #552FA2 #A22F42
square
#7CA22F #2FA28E #552FA2 #A22F42
split-complementary
#7CA22F #2F42A2 #8E2FA2
monochromatic
#334313 #587321 #7CA22F #9DC945 #B6D775

Accessibility & contrast

On white

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

On black

7.07
#7CA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA22F
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA22F#FFFFFF#000000##000000
##7CA22F1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ca22f;
/* rgb */ color: rgb(124, 162, 47);
/* oklch */ color: oklch(66.2% 0.147 126.1);
Tailwind
colors: {
  custom: {
    50: '#a5bd6f',
    500: '#7ca22f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca22f;
$custom-light: #a5bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca22f",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 79.826,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66164,
    "c": 0.14693,
    "h": 126.1
  },
  "luminance": 0.30331
}

Semantic roles & 50–950 ramp

primary
#7CA22F
secondary
#896EBF
accent
#49DE7B
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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