#7CB251#7CB251

#7CB251 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.141 H 133.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7CB251
RGBrgb(124, 178, 81)
HSLhsl(93, 39%, 51%)
HSVhsv(93, 54%, 70%)
CMYKcmyk(30.3%, 0%, 54.5%, 30.2%)
CIE-LABlab(67.07, -34.65, 43.45)
CIE-LCHlch(67.07, 55.57, 128.57°)
OKLaboklab(70.42% -0.0962 0.1029)
OKLCHoklch(70.42% 0.141 133.1)
XYZxyz(25.7173, 36.7191, 13.5155)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB251 #8751B2
analogous
#ACB251 #7CB251 #51B256
triadic
#7CB251 #517CB2 #B2517C
tetradic
#7CB251 #51ACB2 #8751B2 #B25651
square
#7CB251 #51ACB2 #8751B2 #B25651
split-complementary
#7CB251 #5651B2 #B251AC
monochromatic
#415F2A #5F893D #7CB251 #9CC57B #BCD8A6

Accessibility & contrast

On white

2.52
#7CB251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#7CB251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB251
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB251#FFFFFF#000000##000000
##7CB2511.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A648
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#7DAC9C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb251;
/* rgb */ color: rgb(124, 178, 81);
/* oklch */ color: oklch(70.4% 0.141 133.1);
Tailwind
colors: {
  custom: {
    50: '#a5c984',
    500: '#7cb251',
    950: '#000000',
  },
}
SCSS
$custom: #7cb251;
$custom-light: #a5c984;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb251",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 93.402,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70422,
    "c": 0.14084,
    "h": 133.1
  },
  "luminance": 0.3672
}

Semantic roles & 50–950 ramp

primary
#7CB251
secondary
#B29AC5
accent
#59CF9B
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7CB251

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

Preview Lab → · Contrast checker → · Palette generator →

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