#7CAB2F#7CAB2F

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

Color values

HEX#7CAB2F
RGBrgb(124, 171, 47)
HSLhsl(83, 57%, 43%)
HSVhsv(83, 73%, 67%)
CMYKcmyk(27.5%, 0%, 72.5%, 32.9%)
CIE-LABlab(64.66, -34.34, 55.49)
CIE-LCHlch(64.66, 65.25, 121.75°)
OKLaboklab(68.37% -0.0981 0.1244)
OKLCHoklch(68.37% 0.158 128.3)
XYZxyz(23.3882, 33.6156, 7.9450)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB2F #5E2FAB
analogous
#AB9C2F #7CAB2F #3EAB2F
triadic
#7CAB2F #2F7CAB #AB2F7C
tetradic
#7CAB2F #2FAB9C #5E2FAB #AB2F3E
square
#7CAB2F #2FAB9C #5E2FAB #AB2F3E
split-complementary
#7CAB2F #2F3EAB #9C2FAB
monochromatic
#364B15 #597B22 #7CAB2F #9BCD4A #B6DA7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAB2F#FFFFFF#000000##000000
##7CAB2F1.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)
#B39F19
Deuteranopia (green-blind)
#AD9C3A
Tritanopia (blue-blind)
#80A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab2f;
/* rgb */ color: rgb(124, 171, 47);
/* oklch */ color: oklch(68.4% 0.158 128.3);
Tailwind
colors: {
  custom: {
    50: '#a6c470',
    500: '#7cab2f',
    950: '#000000',
  },
}
SCSS
$custom: #7cab2f;
$custom-light: #a6c470;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab2f",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 82.742,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68368,
    "c": 0.15842,
    "h": 128.3
  },
  "luminance": 0.33616
}

Semantic roles & 50–950 ramp

primary
#7CAB2F
secondary
#9173C3
accent
#48E081
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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