#7B8F4E#7B8F4E

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

Color values

HEX#7B8F4E
RGBrgb(123, 143, 78)
HSLhsl(78, 29%, 43%)
HSVhsv(78, 45%, 56%)
CMYKcmyk(14%, 0%, 45.5%, 43.9%)
CIE-LABlab(56.49, -18.25, 32.13)
CIE-LCHlch(56.49, 36.95, 119.59°)
OKLaboklab(61.86% -0.0507 0.0777)
OKLCHoklch(61.86% 0.093 123.1)
XYZxyz(19.3660, 24.4059, 10.8968)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8F4E #624E8F
analogous
#8F824E #7B8F4E #5A8F4E
triadic
#7B8F4E #4E7B8F #8F4E7B
tetradic
#7B8F4E #4E8F82 #624E8F #8F4E5A
square
#7B8F4E #4E8F82 #624E8F #8F4E5A
split-complementary
#7B8F4E #4E5A8F #824E8F
monochromatic
#374023 #596738 #7B8F4E #9AAF6C #B5C493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8F4E#FFFFFF#000000##000000
##7B8F4E1.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)
#968849
Deuteranopia (green-blind)
#938751
Tritanopia (blue-blind)
#7F897F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b8f4e;
/* rgb */ color: rgb(123, 143, 78);
/* oklch */ color: oklch(61.9% 0.093 123.1);
Tailwind
colors: {
  custom: {
    50: '#a2af81',
    500: '#7b8f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7b8f4e;
$custom-light: #a2af81;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8f4e",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 78.462,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.09276,
    "h": 123.1
  },
  "luminance": 0.24406
}

Semantic roles & 50–950 ramp

primary
#7B8F4E
secondary
#9588B1
accent
#62C681
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7B8F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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