#7B8F4D#7B8F4D

#7B8F4D is a mid, moderate yellow-green. Relative luminance 0.244; OKLCH L 61.8% C 0.094 H 123.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7B8F4D
RGBrgb(123, 143, 77)
HSLhsl(78, 30%, 43%)
HSVhsv(78, 46%, 56%)
CMYKcmyk(14%, 0%, 46.2%, 43.9%)
CIE-LABlab(56.48, -18.37, 32.64)
CIE-LCHlch(56.48, 37.45, 119.36°)
OKLaboklab(61.84% -0.0511 0.0788)
OKLCHoklch(61.84% 0.094 123)
XYZxyz(19.3304, 24.3916, 10.7094)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8F4D #614D8F
analogous
#8F824D #7B8F4D #5A8F4D
triadic
#7B8F4D #4D7B8F #8F4D7B
tetradic
#7B8F4D #4D8F82 #614D8F #8F4D5A
square
#7B8F4D #4D8F82 #614D8F #8F4D5A
split-complementary
#7B8F4D #4D5A8F #824D8F
monochromatic
#373F22 #596738 #7B8F4D #9AAF6A #B5C492

Accessibility & contrast

On white

3.57
#7B8F4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7B8F4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8F4D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8F4D#FFFFFF#000000##000000
##7B8F4D1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#968848
Deuteranopia (green-blind)
#938751
Tritanopia (blue-blind)
#80897F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b8f4d;
/* rgb */ color: rgb(123, 143, 77);
/* oklch */ color: oklch(61.8% 0.094 123.0);
Tailwind
colors: {
  custom: {
    50: '#a2af80',
    500: '#7b8f4d',
    950: '#000000',
  },
}
SCSS
$custom: #7b8f4d;
$custom-light: #a2af80;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8f4d",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 78.182,
    "s": 30,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61841,
    "c": 0.09389,
    "h": 123
  },
  "luminance": 0.24392
}

Semantic roles & 50–950 ramp

primary
#7B8F4D
secondary
#9487B1
accent
#62C680
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7B8F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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