#7CAB2E#7CAB2E

#7CAB2E is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.4% C 0.159 H 128.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#7CAB2E
RGBrgb(124, 171, 46)
HSLhsl(83, 58%, 43%)
HSVhsv(83, 73%, 67%)
CMYKcmyk(27.5%, 0%, 73.1%, 32.9%)
CIE-LABlab(64.65, -34.40, 55.85)
CIE-LCHlch(64.65, 65.59, 121.63°)
OKLaboklab(68.36% -0.0984 0.125)
OKLCHoklch(68.36% 0.159 128.2)
XYZxyz(23.3682, 33.6076, 7.8400)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB2E #5D2EAB
analogous
#AB9C2E #7CAB2E #3DAB2E
triadic
#7CAB2E #2E7CAB #AB2E7C
tetradic
#7CAB2E #2EAB9C #5D2EAB #AB2E3D
square
#7CAB2E #2EAB9C #5D2EAB #AB2E3D
split-complementary
#7CAB2E #2E3DAB #9C2EAB
monochromatic
#364B14 #597B21 #7CAB2E #9CCE48 #B6DB79

Accessibility & contrast

On white

2.72
#7CAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#7CAB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAB2E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAB2E#FFFFFF#000000##000000
##7CAB2E1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F17
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#80A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab2e;
/* rgb */ color: rgb(124, 171, 46);
/* oklch */ color: oklch(68.4% 0.159 128.2);
Tailwind
colors: {
  custom: {
    50: '#a6c46f',
    500: '#7cab2e',
    950: '#000000',
  },
}
SCSS
$custom: #7cab2e;
$custom-light: #a6c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab2e",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 82.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68361,
    "c": 0.15905,
    "h": 128.2
  },
  "luminance": 0.33608
}

Semantic roles & 50–950 ramp

primary
#7CAB2E
secondary
#9072C3
accent
#47E181
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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