#7CA42E#7CA42E

#7CA42E is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.6% C 0.150 H 126.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7CA42E
RGBrgb(124, 164, 46)
HSLhsl(80, 56%, 41%)
HSVhsv(80, 72%, 64%)
CMYKcmyk(24.4%, 0%, 72%, 35.7%)
CIE-LABlab(62.54, -31.14, 53.75)
CIE-LCHlch(62.54, 62.12, 120.09°)
OKLaboklab(66.65% -0.0895 0.1206)
OKLCHoklch(66.65% 0.15 126.6)
XYZxyz(22.0809, 31.0329, 7.4109)
Luminance0.3103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA42E #562EA4
analogous
#A4912E #7CA42E #41A42E
triadic
#7CA42E #2E7CA4 #A42E7C
tetradic
#7CA42E #2EA491 #562EA4 #A42E41
square
#7CA42E #2EA491 #562EA4 #A42E41
split-complementary
#7CA42E #2E41A4 #912EA4
monochromatic
#344413 #587421 #7CA42E #9DCB45 #B6D874

Accessibility & contrast

On white

2.91
#7CA42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#7CA42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA42E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA42E#FFFFFF#000000##000000
##7CA42E1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991A
Deuteranopia (green-blind)
#A79738
Tritanopia (blue-blind)
#819C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca42e;
/* rgb */ color: rgb(124, 164, 46);
/* oklch */ color: oklch(66.6% 0.150 126.6);
Tailwind
colors: {
  custom: {
    50: '#a5bf6e',
    500: '#7ca42e',
    950: '#000000',
  },
}
SCSS
$custom: #7ca42e;
$custom-light: #a5bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca42e",
  "rgb": {
    "r": 124,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 80.339,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66645,
    "c": 0.15015,
    "h": 126.6
  },
  "luminance": 0.31033
}

Semantic roles & 50–950 ramp

primary
#7CA42E
secondary
#8A6EC0
accent
#48DF7C
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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