#7B9C4E#7B9C4E

#7B9C4E is a light, moderate yellow-green. Relative luminance 0.285; OKLCH L 65.0% C 0.112 H 128.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#7B9C4E
RGBrgb(123, 156, 78)
HSLhsl(85, 33%, 46%)
HSVhsv(85, 50%, 61%)
CMYKcmyk(21.2%, 0%, 50%, 38.8%)
CIE-LABlab(60.37, -24.86, 36.90)
CIE-LCHlch(60.37, 44.49, 123.96°)
OKLaboklab(64.98% -0.0692 0.0883)
OKLCHoklch(64.98% 0.112 128.1)
XYZxyz(21.4318, 28.5376, 11.5854)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B9C4E #6F4E9C
analogous
#9C964E #7B9C4E #549C4E
triadic
#7B9C4E #4E7B9C #9C4E7B
tetradic
#7B9C4E #4E9C96 #6F4E9C #9C4E54
square
#7B9C4E #4E9C96 #6F4E9C #9C4E54
split-complementary
#7B9C4E #4E549C #964E9C
monochromatic
#3B4A25 #5B733A #7B9C4E #99B770 #B6CC99

Accessibility & contrast

On white

3.13
#7B9C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7B9C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B9C4E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B9C4E#FFFFFF#000000##000000
##7B9C4E1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39347
Deuteranopia (green-blind)
#9E9153
Tritanopia (blue-blind)
#7E968A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7b9c4e;
/* rgb */ color: rgb(123, 156, 78);
/* oklch */ color: oklch(65.0% 0.112 128.1);
Tailwind
colors: {
  custom: {
    50: '#a3b981',
    500: '#7b9c4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b9c4e;
$custom-light: #a3b981;
$custom-dark: #000000;
JSON
{
  "hex": "#7b9c4e",
  "rgb": {
    "r": 123,
    "g": 156,
    "b": 78
  },
  "hsl": {
    "h": 85.385,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.64977,
    "c": 0.11219,
    "h": 128.1
  },
  "luminance": 0.28538
}

Semantic roles & 50–950 ramp

primary
#7B9C4E
secondary
#A08DB8
accent
#5EC98C
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7B9C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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