#7CB258#7CB258

#7CB258 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.5% C 0.134 H 134.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7CB258
RGBrgb(124, 178, 88)
HSLhsl(96, 37%, 52%)
HSVhsv(96, 51%, 70%)
CMYKcmyk(30.3%, 0%, 50.6%, 30.2%)
CIE-LABlab(67.15, -33.85, 40.14)
CIE-LCHlch(67.15, 52.51, 130.15°)
OKLaboklab(70.52% -0.0935 0.0962)
OKLCHoklch(70.52% 0.134 134.2)
XYZxyz(25.9935, 36.8296, 14.9699)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB258 #8E58B2
analogous
#A9B258 #7CB258 #58B261
triadic
#7CB258 #587CB2 #B2587C
tetradic
#7CB258 #58A9B2 #8E58B2 #B26158
square
#7CB258 #58A9B2 #8E58B2 #B26158
split-complementary
#7CB258 #6158B2 #B258A9
monochromatic
#43622D #5F8C41 #7CB258 #9DC582 #BED9AC

Accessibility & contrast

On white

2.51
#7CB258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#7CB258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB258
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB258#FFFFFF#000000##000000
##7CB2581.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A650
Deuteranopia (green-blind)
#B0A25E
Tritanopia (blue-blind)
#7CAC9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb258;
/* rgb */ color: rgb(124, 178, 88);
/* oklch */ color: oklch(70.5% 0.134 134.2);
Tailwind
colors: {
  custom: {
    50: '#a4c989',
    500: '#7cb258',
    950: '#000000',
  },
}
SCSS
$custom: #7cb258;
$custom-light: #a4c989;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb258",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 96,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70516,
    "c": 0.13412,
    "h": 134.2
  },
  "luminance": 0.3683
}

Semantic roles & 50–950 ramp

primary
#7CB258
secondary
#B79FC7
accent
#5BCD9F
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7CB258

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

Preview Lab → · Contrast checker → · Palette generator →

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