#7CA520#7CA520

#7CA520 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.8% C 0.159 H 126.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7CA520
RGBrgb(124, 165, 32)
HSLhsl(78, 68%, 39%)
HSVhsv(78, 81%, 65%)
CMYKcmyk(24.8%, 0%, 80.6%, 35.3%)
CIE-LABlab(62.76, -32.35, 58.65)
CIE-LCHlch(62.76, 66.99, 118.88°)
OKLaboklab(66.8% -0.0939 0.1286)
OKLCHoklch(66.8% 0.159 126.1)
XYZxyz(22.0282, 31.2993, 6.2470)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA520 #4920A5
analogous
#A58B20 #7CA520 #39A520
triadic
#7CA520 #207CA5 #A5207C
tetradic
#7CA520 #20A58B #4920A5 #A52039
square
#7CA520 #20A58B #4920A5 #A52039
split-complementary
#7CA520 #2039A5 #8B20A5
monochromatic
#2F3E0C #557216 #7CA520 #A2D62C #B8E05F

Accessibility & contrast

On white

2.89
#7CA520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7CA520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA520
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA520#FFFFFF#000000##000000
##7CA5201.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A9972E
Tritanopia (blue-blind)
#829D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ca520;
/* rgb */ color: rgb(124, 165, 32);
/* oklch */ color: oklch(66.8% 0.159 126.1);
Tailwind
colors: {
  custom: {
    50: '#a6c068',
    500: '#7ca520',
    950: '#000000',
  },
}
SCSS
$custom: #7ca520;
$custom-light: #a6c068;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca520",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 78.496,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.15924,
    "h": 126.1
  },
  "luminance": 0.313
}

Semantic roles & 50–950 ramp

primary
#7CA520
secondary
#7C5CC5
accent
#3DEA73
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA520

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

Preview Lab → · Contrast checker → · Palette generator →

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