#7CAF26#7CAF26

#7CAF26 is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.169 H 128.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7CAF26
RGBrgb(124, 175, 38)
HSLhsl(82, 64%, 42%)
HSVhsv(82, 78%, 69%)
CMYKcmyk(29.1%, 0%, 78.3%, 31.4%)
CIE-LABlab(65.81, -36.65, 59.66)
CIE-LCHlch(65.81, 70.02, 121.57°)
OKLaboklab(69.29% -0.1051 0.1317)
OKLCHoklch(69.29% 0.169 128.6)
XYZxyz(23.9920, 35.0843, 7.3412)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CAF26 #5926AF
analogous
#AF9E26 #7CAF26 #38AF26
triadic
#7CAF26 #267CAF #AF267C
tetradic
#7CAF26 #26AF9E #5926AF #AF2638
square
#7CAF26 #26AF9E #5926AF #AF2638
split-complementary
#7CAF26 #2638AF #9E26AF
monochromatic
#354A10 #587D1B #7CAF26 #9CD53D #B6E070

Accessibility & contrast

On white

2.62
#7CAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#7CAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CAF26
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CAF26#FFFFFF#000000##000000
##7CAF261.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#80A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7caf26;
/* rgb */ color: rgb(124, 175, 38);
/* oklch */ color: oklch(69.3% 0.169 128.6);
Tailwind
colors: {
  custom: {
    50: '#a6c76c',
    500: '#7caf26',
    950: '#000000',
  },
}
SCSS
$custom: #7caf26;
$custom-light: #a6c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7caf26",
  "rgb": {
    "r": 124,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 82.336,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69293,
    "c": 0.16851,
    "h": 128.6
  },
  "luminance": 0.35085
}

Semantic roles & 50–950 ramp

primary
#7CAF26
secondary
#8D6AC7
accent
#40E77F
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7CAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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