#7CB538#7CB538

#7CB538 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 70.9% C 0.165 H 130.8°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#7CB538
RGBrgb(124, 181, 56)
HSLhsl(87, 53%, 46%)
HSVhsv(87, 69%, 71%)
CMYKcmyk(31.5%, 0%, 69.1%, 29%)
CIE-LABlab(67.74, -38.25, 55.19)
CIE-LCHlch(67.74, 67.15, 124.72°)
OKLaboklab(70.89% -0.1081 0.1251)
OKLCHoklch(70.89% 0.165 130.8)
XYZxyz(25.5496, 37.6175, 9.6554)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB538 #7138B5
analogous
#B5B038 #7CB538 #3EB538
triadic
#7CB538 #387CB5 #B5387C
tetradic
#7CB538 #38B5B0 #7138B5 #B5383E
square
#7CB538 #38B5B0 #7138B5 #B5383E
split-complementary
#7CB538 #383EB5 #B038B5
monochromatic
#3C581B #5C862A #7CB538 #9ACD5D #B7DB8C

Accessibility & contrast

On white

2.46
#7CB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#7CB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB538
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB538#FFFFFF#000000##000000
##7CB5381.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#B5A443
Tritanopia (blue-blind)
#7FAD9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7cb538;
/* rgb */ color: rgb(124, 181, 56);
/* oklch */ color: oklch(70.9% 0.165 130.8);
Tailwind
colors: {
  custom: {
    50: '#a6cb76',
    500: '#7cb538',
    950: '#000000',
  },
}
SCSS
$custom: #7cb538;
$custom-light: #a6cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb538",
  "rgb": {
    "r": 124,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 87.36,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70894,
    "c": 0.1653,
    "h": 130.8
  },
  "luminance": 0.37618
}

Semantic roles & 50–950 ramp

primary
#7CB538
secondary
#A183C6
accent
#4CDC8E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB538

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

Preview Lab → · Contrast checker → · Palette generator →

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