#7CB254#7CB254

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

Color values

HEX#7CB254
RGBrgb(124, 178, 84)
HSLhsl(94, 38%, 51%)
HSVhsv(94, 53%, 70%)
CMYKcmyk(30.3%, 0%, 52.8%, 30.2%)
CIE-LABlab(67.10, -34.32, 42.04)
CIE-LCHlch(67.10, 54.27, 129.22°)
OKLaboklab(70.46% -0.095 0.1001)
OKLCHoklch(70.46% 0.138 133.5)
XYZxyz(25.8323, 36.7651, 14.1211)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7CB254 #8A54B2
analogous
#ABB254 #7CB254 #54B25B
triadic
#7CB254 #547CB2 #B2547C
tetradic
#7CB254 #54ABB2 #8A54B2 #B25B54
square
#7CB254 #54ABB2 #8A54B2 #B25B54
split-complementary
#7CB254 #5B54B2 #B254AB
monochromatic
#42602B #5F8A3E #7CB254 #9CC57E #BDD8A8

Accessibility & contrast

On white

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

On black

8.35
#7CB254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7CB254
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7CB254#FFFFFF#000000##000000
##7CB2541.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7cb254;
/* rgb */ color: rgb(124, 178, 84);
/* oklch */ color: oklch(70.5% 0.138 133.5);
Tailwind
colors: {
  custom: {
    50: '#a5c986',
    500: '#7cb254',
    950: '#000000',
  },
}
SCSS
$custom: #7cb254;
$custom-light: #a5c986;
$custom-dark: #000000;
JSON
{
  "hex": "#7cb254",
  "rgb": {
    "r": 124,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 94.468,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70461,
    "c": 0.138,
    "h": 133.5
  },
  "luminance": 0.36766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7CB254

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

Preview Lab → · Contrast checker → · Palette generator →

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