#7CB23A#7CB23A

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

Color values

HEX#7CB23A
RGBrgb(124, 178, 58)
HSLhsl(87, 51%, 46%)
HSVhsv(87, 67%, 70%)
CMYKcmyk(30.3%, 0%, 67.4%, 30.2%)
CIE-LABlab(66.85, -36.76, 53.46)
CIE-LCHlch(66.85, 64.88, 124.51°)
OKLaboklab(70.17% -0.1038 0.1217)
OKLCHoklch(70.17% 0.16 130.5)
XYZxyz(24.9961, 36.4306, 9.7170)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB23A #703AB2
analogous
#B2AC3A #7CB23A #40B23A
triadic
#7CB23A #3A7CB2 #B23A7C
tetradic
#7CB23A #3AB2AC #703AB2 #B23A40
square
#7CB23A #3AB2AC #703AB2 #B23A40
split-complementary
#7CB23A #3A40B2 #AC3AB2
monochromatic
#3C561C #5C842B #7CB23A #9ACB5F #B7DA8D

Accessibility & contrast

On white

2.53
#7CB23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#7CB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB23A
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB23A#FFFFFF#000000##000000
##7CB23A1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA529
Deuteranopia (green-blind)
#B2A144
Tritanopia (blue-blind)
#7FAB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb23a;
/* rgb */ color: rgb(124, 178, 58);
/* oklch */ color: oklch(70.2% 0.160 130.5);
Tailwind
colors: {
  custom: {
    50: '#a6c976',
    500: '#7cb23a',
    950: '#000000',
  },
}
SCSS
$custom: #7cb23a;
$custom-light: #a6c976;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb23a",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 87,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70174,
    "c": 0.16,
    "h": 130.5
  },
  "luminance": 0.36431
}

Semantic roles & 50–950 ramp

primary
#7CB23A
secondary
#A183C4
accent
#4DDA8D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7CB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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