#7CB938#7CB938

#7CB938 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 71.9% C 0.170 H 131.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7CB938
RGBrgb(124, 185, 56)
HSLhsl(88, 54%, 47%)
HSVhsv(88, 70%, 73%)
CMYKcmyk(33%, 0%, 69.7%, 27.5%)
CIE-LABlab(68.94, -40.01, 56.43)
CIE-LCHlch(68.94, 69.18, 125.34°)
OKLaboklab(71.88% -0.1129 0.1277)
OKLCHoklch(71.88% 0.17 131.5)
XYZxyz(26.3747, 39.2676, 9.9304)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB938 #7538B9
analogous
#B9B638 #7CB938 #3CB938
triadic
#7CB938 #387CB9 #B9387C
tetradic
#7CB938 #38B9B6 #7538B9 #B9383C
square
#7CB938 #38B9B6 #7538B9 #B9383C
split-complementary
#7CB938 #383CB9 #B638B9
monochromatic
#3D5B1C #5D8A2A #7CB938 #9ACF5F #B8DD8E

Accessibility & contrast

On white

2.37
#7CB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#7CB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB938
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB938#FFFFFF#000000##000000
##7CB9381.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#7EB19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7cb938;
/* rgb */ color: rgb(124, 185, 56);
/* oklch */ color: oklch(71.9% 0.170 131.5);
Tailwind
colors: {
  custom: {
    50: '#a6ce76',
    500: '#7cb938',
    950: '#000000',
  },
}
SCSS
$custom: #7cb938;
$custom-light: #a6ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb938",
  "rgb": {
    "r": 124,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 88.372,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71877,
    "c": 0.17042,
    "h": 131.5
  },
  "luminance": 0.39269
}

Semantic roles & 50–950 ramp

primary
#7CB938
secondary
#A585C8
accent
#4BDD90
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB938

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

Preview Lab → · Contrast checker → · Palette generator →

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