#7CA118#7CA118

#7CA118 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.158 H 124.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7CA118
RGBrgb(124, 161, 24)
HSLhsl(76, 74%, 36%)
HSVhsv(76, 85%, 63%)
CMYKcmyk(23%, 0%, 85.1%, 36.9%)
CIE-LABlab(61.52, -30.79, 59.69)
CIE-LCHlch(61.52, 67.16, 117.28°)
OKLaboklab(65.78% -0.0901 0.1295)
OKLCHoklch(65.78% 0.158 124.8)
XYZxyz(21.2221, 29.8405, 5.5057)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA118 #3D18A1
analogous
#A18218 #7CA118 #38A118
triadic
#7CA118 #187CA1 #A1187C
tetradic
#7CA118 #18A182 #3D18A1 #A11838
square
#7CA118 #18A182 #3D18A1 #A11838
split-complementary
#7CA118 #1838A1 #8218A1
monochromatic
#2A3608 #536C10 #7CA118 #A5D620 #BCE54F

Accessibility & contrast

On white

3.01
#7CA118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#7CA118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA118
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA118#FFFFFF#000000##000000
##7CA1181.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A59429
Tritanopia (blue-blind)
#829989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca118;
/* rgb */ color: rgb(124, 161, 24);
/* oklch */ color: oklch(65.8% 0.158 124.8);
Tailwind
colors: {
  custom: {
    50: '#a6bd64',
    500: '#7ca118',
    950: '#000000',
  },
}
SCSS
$custom: #7ca118;
$custom-light: #a6bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca118",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 24
  },
  "hsl": {
    "h": 76.204,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65783,
    "c": 0.15782,
    "h": 124.8
  },
  "luminance": 0.29841
}

Semantic roles & 50–950 ramp

primary
#7CA118
secondary
#6F4EC7
accent
#37F169
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7CA118

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

Preview Lab → · Contrast checker → · Palette generator →

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