#7CA52B#7CA52B

#7CA52B is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.9% C 0.153 H 126.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7CA52B
RGBrgb(124, 165, 43)
HSLhsl(80, 59%, 41%)
HSVhsv(80, 74%, 65%)
CMYKcmyk(24.8%, 0%, 73.9%, 35.3%)
CIE-LABlab(62.82, -31.80, 55.13)
CIE-LCHlch(62.82, 63.64, 119.97°)
OKLaboklab(66.87% -0.0915 0.123)
OKLCHoklch(66.87% 0.153 126.7)
XYZxyz(22.2034, 31.3694, 7.1701)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA52B #542BA5
analogous
#A5912B #7CA52B #3FA52B
triadic
#7CA52B #2B7CA5 #A52B7C
tetradic
#7CA52B #2BA591 #542BA5 #A52B3F
square
#7CA52B #2BA591 #542BA5 #A52B3F
split-complementary
#7CA52B #2B3FA5 #912BA5
monochromatic
#334412 #58741E #7CA52B #9ECD40 #B6DA71

Accessibility & contrast

On white

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

On black

7.27
#7CA52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA52B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA52B#FFFFFF#000000##000000
##7CA52B1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A13
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#819D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ca52b;
/* rgb */ color: rgb(124, 165, 43);
/* oklch */ color: oklch(66.9% 0.153 126.7);
Tailwind
colors: {
  custom: {
    50: '#a6c06d',
    500: '#7ca52b',
    950: '#000000',
  },
}
SCSS
$custom: #7ca52b;
$custom-light: #a6c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca52b",
  "rgb": {
    "r": 124,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 80.164,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66868,
    "c": 0.15331,
    "h": 126.7
  },
  "luminance": 0.3137
}

Semantic roles & 50–950 ramp

primary
#7CA52B
secondary
#886BC1
accent
#46E27A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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