#7CB257#7CB257

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

Color values

HEX#7CB257
RGBrgb(124, 178, 87)
HSLhsl(96, 37%, 52%)
HSVhsv(96, 51%, 70%)
CMYKcmyk(30.3%, 0%, 51.1%, 30.2%)
CIE-LABlab(67.14, -33.97, 40.61)
CIE-LCHlch(67.14, 52.95, 129.91°)
OKLaboklab(70.5% -0.0939 0.0971)
OKLCHoklch(70.5% 0.135 134)
XYZxyz(25.9524, 36.8131, 14.7532)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB257 #8D57B2
analogous
#AAB257 #7CB257 #57B25F
triadic
#7CB257 #577CB2 #B2577C
tetradic
#7CB257 #57AAB2 #8D57B2 #B25F57
square
#7CB257 #57AAB2 #8D57B2 #B25F57
split-complementary
#7CB257 #5F57B2 #B257AA
monochromatic
#42622D #5F8C40 #7CB257 #9DC581 #BDD8AB

Accessibility & contrast

On white

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

On black

8.36
#7CB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB257
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB257#FFFFFF#000000##000000
##7CB2571.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb257;
/* rgb */ color: rgb(124, 178, 87);
/* oklch */ color: oklch(70.5% 0.135 134.0);
Tailwind
colors: {
  custom: {
    50: '#a4c988',
    500: '#7cb257',
    950: '#000000',
  },
}
SCSS
$custom: #7cb257;
$custom-light: #a4c988;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb257",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 95.604,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70502,
    "c": 0.13509,
    "h": 134
  },
  "luminance": 0.36814
}

Semantic roles & 50–950 ramp

primary
#7CB257
secondary
#B69EC6
accent
#5BCD9F
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7CB257

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

Preview Lab → · Contrast checker → · Palette generator →

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