#7CA120#7CA120

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

Color values

HEX#7CA120
RGBrgb(124, 161, 32)
HSLhsl(77, 67%, 38%)
HSVhsv(77, 80%, 63%)
CMYKcmyk(23%, 0%, 80.1%, 36.9%)
CIE-LABlab(61.55, -30.48, 57.56)
CIE-LCHlch(61.55, 65.13, 117.90°)
OKLaboklab(65.82% -0.0888 0.1263)
OKLCHoklch(65.82% 0.154 125.1)
XYZxyz(21.3180, 29.8788, 6.0103)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA120 #4520A1
analogous
#A18520 #7CA120 #3CA120
triadic
#7CA120 #207CA1 #A1207C
tetradic
#7CA120 #20A185 #4520A1 #A1203C
square
#7CA120 #20A185 #4520A1 #A1203C
split-complementary
#7CA120 #203CA1 #8520A1
monochromatic
#2D3B0C #556E16 #7CA120 #A3D42A #B9DF5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA120#FFFFFF#000000##000000
##7CA1201.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)
#A5942E
Tritanopia (blue-blind)
#829989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca120;
/* rgb */ color: rgb(124, 161, 32);
/* oklch */ color: oklch(65.8% 0.154 125.1);
Tailwind
colors: {
  custom: {
    50: '#a6bd68',
    500: '#7ca120',
    950: '#000000',
  },
}
SCSS
$custom: #7ca120;
$custom-light: #a6bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca120",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 77.209,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65821,
    "c": 0.15437,
    "h": 125.1
  },
  "luminance": 0.29879
}

Semantic roles & 50–950 ramp

primary
#7CA120
secondary
#785AC3
accent
#3EEA6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA120

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

Preview Lab → · Contrast checker → · Palette generator →

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