#7CA42F#7CA42F

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

Color values

HEX#7CA42F
RGBrgb(124, 164, 47)
HSLhsl(81, 55%, 41%)
HSVhsv(81, 71%, 64%)
CMYKcmyk(24.4%, 0%, 71.3%, 35.7%)
CIE-LABlab(62.54, -31.08, 53.38)
CIE-LCHlch(62.54, 61.77, 120.21°)
OKLaboklab(66.65% -0.0892 0.1199)
OKLCHoklch(66.65% 0.149 126.6)
XYZxyz(22.1008, 31.0409, 7.5159)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA42F #572FA4
analogous
#A4922F #7CA42F #42A42F
triadic
#7CA42F #2F7CA4 #A42F7C
tetradic
#7CA42F #2FA492 #572FA4 #A42F42
square
#7CA42F #2FA492 #572FA4 #A42F42
split-complementary
#7CA42F #2F42A4 #922FA4
monochromatic
#344514 #587421 #7CA42F #9DCA46 #B6D876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CA42F#FFFFFF#000000##000000
##7CA42F1.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)
#AD991B
Deuteranopia (green-blind)
#A79739
Tritanopia (blue-blind)
#819C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ca42f;
/* rgb */ color: rgb(124, 164, 47);
/* oklch */ color: oklch(66.7% 0.149 126.6);
Tailwind
colors: {
  custom: {
    50: '#a5bf6f',
    500: '#7ca42f',
    950: '#000000',
  },
}
SCSS
$custom: #7ca42f;
$custom-light: #a5bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca42f",
  "rgb": {
    "r": 124,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 80.513,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66653,
    "c": 0.14949,
    "h": 126.6
  },
  "luminance": 0.31041
}

Semantic roles & 50–950 ramp

primary
#7CA42F
secondary
#8B6FC0
accent
#49DF7C
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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