#7CA138#7CA138

#7CA138 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.139 H 126.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7CA138
RGBrgb(124, 161, 56)
HSLhsl(81, 48%, 43%)
HSVhsv(81, 65%, 63%)
CMYKcmyk(23%, 0%, 65.2%, 36.9%)
CIE-LABlab(61.71, -29.01, 48.85)
CIE-LCHlch(61.71, 56.82, 120.71°)
OKLaboklab(66% -0.0827 0.1117)
OKLCHoklch(66% 0.139 126.5)
XYZxyz(21.7709, 30.0600, 8.3958)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CA138 #5D38A1
analogous
#A19238 #7CA138 #47A138
triadic
#7CA138 #387CA1 #A1387C
tetradic
#7CA138 #38A192 #5D38A1 #A13847
square
#7CA138 #38A192 #5D38A1 #A13847
split-complementary
#7CA138 #3847A1 #9238A1
monochromatic
#364618 #597428 #7CA138 #9CC353 #B6D380

Accessibility & contrast

On white

2.99
#7CA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#7CA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CA138
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CA138#FFFFFF#000000##000000
##7CA1381.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972B
Deuteranopia (green-blind)
#A49440
Tritanopia (blue-blind)
#819A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ca138;
/* rgb */ color: rgb(124, 161, 56);
/* oklch */ color: oklch(66.0% 0.139 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5bd74',
    500: '#7ca138',
    950: '#000000',
  },
}
SCSS
$custom: #7ca138;
$custom-light: #a5bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#7ca138",
  "rgb": {
    "r": 124,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 81.143,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65998,
    "c": 0.13904,
    "h": 126.5
  },
  "luminance": 0.3006
}

Semantic roles & 50–950 ramp

primary
#7CA138
secondary
#9078BC
accent
#50D880
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7CA138

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

Preview Lab → · Contrast checker → · Palette generator →

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