#7CB138#7CB138

#7CB138 is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 69.9% C 0.160 H 130.1°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7CB138
RGBrgb(124, 177, 56)
HSLhsl(86, 52%, 46%)
HSVhsv(86, 68%, 69%)
CMYKcmyk(29.9%, 0%, 68.4%, 30.6%)
CIE-LABlab(66.53, -36.46, 53.94)
CIE-LCHlch(66.53, 65.10, 124.05°)
OKLaboklab(69.91% -0.1032 0.1224)
OKLCHoklch(69.91% 0.16 130.1)
XYZxyz(24.7480, 36.0142, 9.3881)
Luminance0.3602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB138 #6D38B1
analogous
#B1A938 #7CB138 #3FB138
triadic
#7CB138 #387CB1 #B1387C
tetradic
#7CB138 #38B1A9 #6D38B1 #B1383F
square
#7CB138 #38B1A9 #6D38B1 #B1383F
split-complementary
#7CB138 #383FB1 #A938B1
monochromatic
#3B541B #5B8329 #7CB138 #9ACB5B #B7DA8A

Accessibility & contrast

On white

2.56
#7CB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#7CB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB138
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB138#FFFFFF#000000##000000
##7CB1381.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#B2A142
Tritanopia (blue-blind)
#7FA999
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb138;
/* rgb */ color: rgb(124, 177, 56);
/* oklch */ color: oklch(69.9% 0.160 130.1);
Tailwind
colors: {
  custom: {
    50: '#a6c875',
    500: '#7cb138',
    950: '#000000',
  },
}
SCSS
$custom: #7cb138;
$custom-light: #a6c875;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb138",
  "rgb": {
    "r": 124,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 86.281,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.16012,
    "h": 130.1
  },
  "luminance": 0.36015
}

Semantic roles & 50–950 ramp

primary
#7CB138
secondary
#9E81C4
accent
#4CDB8B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB138

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

Preview Lab → · Contrast checker → · Palette generator →

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