#7CA81E#7CA81E

#7CA81E is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.5% C 0.164 H 126.8°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7CA81E
RGBrgb(124, 168, 30)
HSLhsl(79, 70%, 39%)
HSVhsv(79, 82%, 66%)
CMYKcmyk(26.2%, 0%, 82.1%, 34.1%)
CIE-LABlab(63.66, -33.83, 60.03)
CIE-LCHlch(63.66, 68.90, 119.40°)
OKLaboklab(67.53% -0.098 0.1312)
OKLCHoklch(67.53% 0.164 126.8)
XYZxyz(22.5493, 32.3837, 6.2907)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA81E #4A1EA8
analogous
#A88F1E #7CA81E #37A81E
triadic
#7CA81E #1E7CA8 #A81E7C
tetradic
#7CA81E #1EA88F #4A1EA8 #A81E37
square
#7CA81E #1EA88F #4A1EA8 #A81E37
split-complementary
#7CA81E #1E37A8 #8F1EA8
monochromatic
#2F400B #567415 #7CA81E #A1D92A #B8E25E

Accessibility & contrast

On white

2.81
#7CA81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7CA81E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA81E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA81E#FFFFFF#000000##000000
##7CA81E1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AB992E
Tritanopia (blue-blind)
#81A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ca81e;
/* rgb */ color: rgb(124, 168, 30);
/* oklch */ color: oklch(67.5% 0.164 126.8);
Tailwind
colors: {
  custom: {
    50: '#a6c268',
    500: '#7ca81e',
    950: '#000000',
  },
}
SCSS
$custom: #7ca81e;
$custom-light: #a6c268;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca81e",
  "rgb": {
    "r": 124,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 79.13,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67529,
    "c": 0.16376,
    "h": 126.8
  },
  "luminance": 0.32384
}

Semantic roles & 50–950 ramp

primary
#7CA81E
secondary
#7D5BC7
accent
#3BED74
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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