#7CB255#7CB255

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

Color values

HEX#7CB255
RGBrgb(124, 178, 85)
HSLhsl(95, 38%, 52%)
HSVhsv(95, 52%, 70%)
CMYKcmyk(30.3%, 0%, 52.2%, 30.2%)
CIE-LABlab(67.11, -34.20, 41.57)
CIE-LCHlch(67.11, 53.83, 129.45°)
OKLaboklab(70.47% -0.0947 0.0991)
OKLCHoklch(70.47% 0.137 133.7)
XYZxyz(25.8718, 36.7809, 14.3289)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB255 #8B55B2
analogous
#ABB255 #7CB255 #55B25D
triadic
#7CB255 #557CB2 #B2557C
tetradic
#7CB255 #55ABB2 #8B55B2 #B25D55
square
#7CB255 #55ABB2 #8B55B2 #B25D55
split-complementary
#7CB255 #5D55B2 #B255AB
monochromatic
#42612C #5F8B3F #7CB255 #9CC57F #BDD8A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7CB255#FFFFFF#000000##000000
##7CB2551.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)
#B8A64D
Deuteranopia (green-blind)
#B0A25B
Tritanopia (blue-blind)
#7CAC9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7cb255;
/* rgb */ color: rgb(124, 178, 85);
/* oklch */ color: oklch(70.5% 0.137 133.7);
Tailwind
colors: {
  custom: {
    50: '#a4c987',
    500: '#7cb255',
    950: '#000000',
  },
}
SCSS
$custom: #7cb255;
$custom-light: #a4c987;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb255",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 94.839,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70475,
    "c": 0.13704,
    "h": 133.7
  },
  "luminance": 0.36782
}

Semantic roles & 50–950 ramp

primary
#7CB255
secondary
#B59DC6
accent
#5ACE9D
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130B
muted
#7F827C

Preview Lab

Preview with #7CB255

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

Preview Lab → · Contrast checker → · Palette generator →

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