#7CAB2A#7CAB2A

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

Color values

HEX#7CAB2A
RGBrgb(124, 171, 42)
HSLhsl(82, 61%, 42%)
HSVhsv(82, 75%, 67%)
CMYKcmyk(27.5%, 0%, 75.4%, 32.9%)
CIE-LABlab(64.63, -34.63, 57.23)
CIE-LCHlch(64.63, 66.89, 121.18°)
OKLaboklab(68.33% -0.0993 0.1272)
OKLCHoklch(68.33% 0.161 128)
XYZxyz(23.2930, 33.5775, 7.4439)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB2A #592AAB
analogous
#AB992A #7CAB2A #3CAB2A
triadic
#7CAB2A #2A7CAB #AB2A7C
tetradic
#7CAB2A #2AAB99 #592AAB #AB2A3C
square
#7CAB2A #2AAB99 #592AAB #AB2A3C
split-complementary
#7CAB2A #2A3CAB #992AAB
monochromatic
#354912 #587A1E #7CAB2A #9CD142 #B6DD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CAB2A#FFFFFF#000000##000000
##7CAB2A1.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)
#B49F0D
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#80A392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab2a;
/* rgb */ color: rgb(124, 171, 42);
/* oklch */ color: oklch(68.3% 0.161 128.0);
Tailwind
colors: {
  custom: {
    50: '#a6c46d',
    500: '#7cab2a',
    950: '#000000',
  },
}
SCSS
$custom: #7cab2a;
$custom-light: #a6c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab2a",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 81.86,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68334,
    "c": 0.16142,
    "h": 128
  },
  "luminance": 0.33578
}

Semantic roles & 50–950 ramp

primary
#7CAB2A
secondary
#8D6DC4
accent
#44E47E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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