#7CA12B#7CA12B

#7CA12B is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.9% C 0.148 H 125.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7CA12B
RGBrgb(124, 161, 43)
HSLhsl(79, 58%, 40%)
HSVhsv(79, 73%, 63%)
CMYKcmyk(23%, 0%, 73.3%, 36.9%)
CIE-LABlab(61.61, -29.91, 53.95)
CIE-LCHlch(61.61, 61.68, 119.00°)
OKLaboklab(65.89% -0.0864 0.1205)
OKLCHoklch(65.89% 0.148 125.6)
XYZxyz(21.4932, 29.9489, 6.9334)
Luminance0.2995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA12B #502BA1
analogous
#A18B2B #7CA12B #41A12B
triadic
#7CA12B #2B7CA1 #A12B7C
tetradic
#7CA12B #2BA18B #502BA1 #A12B41
square
#7CA12B #2BA18B #502BA1 #A12B41
split-complementary
#7CA12B #2B41A1 #8B2BA1
monochromatic
#324011 #57711E #7CA12B #9FCB3E #B7D86E

Accessibility & contrast

On white

3.00
#7CA12B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#7CA12B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7CA12B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA12B#FFFFFF#000000##000000
##7CA12B1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9615
Deuteranopia (green-blind)
#A59436
Tritanopia (blue-blind)
#82998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca12b;
/* rgb */ color: rgb(124, 161, 43);
/* oklch */ color: oklch(65.9% 0.148 125.6);
Tailwind
colors: {
  custom: {
    50: '#a5bd6d',
    500: '#7ca12b',
    950: '#000000',
  },
}
SCSS
$custom: #7ca12b;
$custom-light: #a5bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca12b",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 78.814,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.65889,
    "c": 0.14826,
    "h": 125.6
  },
  "luminance": 0.29949
}

Semantic roles & 50–950 ramp

primary
#7CA12B
secondary
#8469BF
accent
#47E177
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7CA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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