#7CAB26#7CAB26

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

Color values

HEX#7CAB26
RGBrgb(124, 171, 38)
HSLhsl(81, 64%, 41%)
HSVhsv(81, 78%, 67%)
CMYKcmyk(27.5%, 0%, 77.8%, 32.9%)
CIE-LABlab(64.60, -34.84, 58.53)
CIE-LCHlch(64.60, 68.11, 120.77°)
OKLaboklab(68.31% -0.1002 0.1293)
OKLCHoklch(68.31% 0.164 127.8)
XYZxyz(23.2250, 33.5503, 7.0856)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAB26 #5526AB
analogous
#AB9726 #7CAB26 #39AB26
triadic
#7CAB26 #267CAB #AB267C
tetradic
#7CAB26 #26AB97 #5526AB #AB2639
square
#7CAB26 #26AB97 #5526AB #AB2639
split-complementary
#7CAB26 #2639AB #9726AB
monochromatic
#334710 #58791B #7CAB26 #9DD33B #B6DF6D

Accessibility & contrast

On white

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

On black

7.71
#7CAB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAB26
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAB26#FFFFFF#000000##000000
##7CAB261.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#AD9C34
Tritanopia (blue-blind)
#81A392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7cab26;
/* rgb */ color: rgb(124, 171, 38);
/* oklch */ color: oklch(68.3% 0.164 127.8);
Tailwind
colors: {
  custom: {
    50: '#a6c46b',
    500: '#7cab26',
    950: '#000000',
  },
}
SCSS
$custom: #7cab26;
$custom-light: #a6c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#7cab26",
  "rgb": {
    "r": 124,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 81.203,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68309,
    "c": 0.1636,
    "h": 127.8
  },
  "luminance": 0.33551
}

Semantic roles & 50–950 ramp

primary
#7CAB26
secondary
#8968C5
accent
#41E77C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CAB26

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

Preview Lab → · Contrast checker → · Palette generator →

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