#7CB238#7CB238

#7CB238 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.2% C 0.161 H 130.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7CB238
RGBrgb(124, 178, 56)
HSLhsl(87, 52%, 46%)
HSVhsv(87, 69%, 70%)
CMYKcmyk(30.3%, 0%, 68.5%, 30.2%)
CIE-LABlab(66.83, -36.91, 54.25)
CIE-LCHlch(66.83, 65.62, 124.23°)
OKLaboklab(70.16% -0.1044 0.1231)
OKLCHoklch(70.16% 0.161 130.3)
XYZxyz(24.9462, 36.4106, 9.4542)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB238 #6E38B2
analogous
#B2AB38 #7CB238 #3FB238
triadic
#7CB238 #387CB2 #B2387C
tetradic
#7CB238 #38B2AB #6E38B2 #B2383F
square
#7CB238 #38B2AB #6E38B2 #B2383F
split-complementary
#7CB238 #383FB2 #AB38B2
monochromatic
#3B551B #5C8329 #7CB238 #9ACC5C #B7DA8A

Accessibility & contrast

On white

2.54
#7CB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7CB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB238
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB238#FFFFFF#000000##000000
##7CB2381.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA526
Deuteranopia (green-blind)
#B3A142
Tritanopia (blue-blind)
#7FAA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb238;
/* rgb */ color: rgb(124, 178, 56);
/* oklch */ color: oklch(70.2% 0.161 130.3);
Tailwind
colors: {
  custom: {
    50: '#a6c975',
    500: '#7cb238',
    950: '#000000',
  },
}
SCSS
$custom: #7cb238;
$custom-light: #a6c975;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb238",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 86.557,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70157,
    "c": 0.16142,
    "h": 130.3
  },
  "luminance": 0.36411
}

Semantic roles & 50–950 ramp

primary
#7CB238
secondary
#9F81C5
accent
#4CDC8C
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB238

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

Preview Lab → · Contrast checker → · Palette generator →

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