#7CA242#7CA242

#7CA242 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.132 H 127.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7CA242
RGBrgb(124, 162, 66)
HSLhsl(84, 42%, 45%)
HSVhsv(84, 59%, 64%)
CMYKcmyk(23.5%, 0%, 59.3%, 36.5%)
CIE-LABlab(62.10, -28.64, 44.80)
CIE-LCHlch(62.10, 53.17, 122.59°)
OKLaboklab(66.35% -0.0808 0.1044)
OKLCHoklch(66.35% 0.132 127.7)
XYZxyz(22.2158, 30.5187, 9.8735)
Luminance0.3052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA242 #6842A2
analogous
#A29842 #7CA242 #4CA242
triadic
#7CA242 #427CA2 #A2427C
tetradic
#7CA242 #42A298 #6842A2 #A2424C
square
#7CA242 #42A298 #6842A2 #A2424C
split-complementary
#7CA242 #424CA2 #9842A2
monochromatic
#394B1F #5B7730 #7CA242 #9ABF62 #B6D18E

Accessibility & contrast

On white

2.96
#7CA242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7CA242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA242
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA242#FFFFFF#000000##000000
##7CA2421.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9838
Deuteranopia (green-blind)
#A49549
Tritanopia (blue-blind)
#809B8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ca242;
/* rgb */ color: rgb(124, 162, 66);
/* oklch */ color: oklch(66.3% 0.132 127.7);
Tailwind
colors: {
  custom: {
    50: '#a4bd7a',
    500: '#7ca242',
    950: '#000000',
  },
}
SCSS
$custom: #7ca242;
$custom-light: #a4bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca242",
  "rgb": {
    "r": 124,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 83.75,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.66345,
    "c": 0.13198,
    "h": 127.7
  },
  "luminance": 0.30519
}

Semantic roles & 50–950 ramp

primary
#7CA242
secondary
#9A84BC
accent
#56D287
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F1209
muted
#7F817B

Preview Lab

Preview with #7CA242

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

Preview Lab → · Contrast checker → · Palette generator →

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