#7CB232#7CB232

#7CB232 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.1% C 0.165 H 129.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7CB232
RGBrgb(124, 178, 50)
HSLhsl(85, 56%, 45%)
HSVhsv(85, 72%, 70%)
CMYKcmyk(30.3%, 0%, 71.9%, 30.2%)
CIE-LABlab(66.79, -37.32, 56.51)
CIE-LCHlch(66.79, 67.72, 123.44°)
OKLaboklab(70.11% -0.106 0.127)
OKLCHoklch(70.11% 0.165 129.9)
XYZxyz(24.8082, 36.3554, 8.7272)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB232 #6832B2
analogous
#B2A832 #7CB232 #3CB232
triadic
#7CB232 #327CB2 #B2327C
tetradic
#7CB232 #32B2A8 #6832B2 #B2323C
square
#7CB232 #32B2A8 #6832B2 #B2323C
split-complementary
#7CB232 #323CB2 #A832B2
monochromatic
#395217 #5B8225 #7CB232 #9ACF53 #B6DC82

Accessibility & contrast

On white

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

On black

8.27
#7CB232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB232
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB232#FFFFFF#000000##000000
##7CB2321.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA51C
Deuteranopia (green-blind)
#B3A13E
Tritanopia (blue-blind)
#7FAA99
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7cb232;
/* rgb */ color: rgb(124, 178, 50);
/* oklch */ color: oklch(70.1% 0.165 129.9);
Tailwind
colors: {
  custom: {
    50: '#a6c972',
    500: '#7cb232',
    950: '#000000',
  },
}
SCSS
$custom: #7cb232;
$custom-light: #a6c972;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb232",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 85.313,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7011,
    "c": 0.16541,
    "h": 129.9
  },
  "luminance": 0.36356
}

Semantic roles & 50–950 ramp

primary
#7CB232
secondary
#9A7BC5
accent
#48DF88
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7CB232

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

Preview Lab → · Contrast checker → · Palette generator →

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