#7B8F47#7B8F47

#7B8F47 is a mid, moderate yellow-green. Relative luminance 0.243; OKLCH L 61.8% C 0.101 H 122.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7B8F47
RGBrgb(123, 143, 71)
HSLhsl(77, 34%, 42%)
HSVhsv(77, 50%, 56%)
CMYKcmyk(14%, 0%, 50.3%, 43.9%)
CIE-LABlab(56.40, -19.05, 35.67)
CIE-LCHlch(56.40, 40.44, 118.10°)
OKLaboklab(61.75% -0.0535 0.0851)
OKLCHoklch(61.75% 0.101 122.2)
XYZxyz(19.1282, 24.3108, 9.6447)
Luminance0.2431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8F47 #5B478F
analogous
#8F7F47 #7B8F47 #578F47
triadic
#7B8F47 #477B8F #8F477B
tetradic
#7B8F47 #478F7F #5B478F #8F4757
square
#7B8F47 #478F7F #5B478F #8F4757
split-complementary
#7B8F47 #47578F #7F478F
monochromatic
#353D1E #586633 #7B8F47 #9BB162 #B5C58B

Accessibility & contrast

On white

3.58
#7B8F47 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#7B8F47 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8F47
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8F47#FFFFFF#000000##000000
##7B8F471.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968841
Deuteranopia (green-blind)
#94874B
Tritanopia (blue-blind)
#80897E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b8f47;
/* rgb */ color: rgb(123, 143, 71);
/* oklch */ color: oklch(61.8% 0.101 122.2);
Tailwind
colors: {
  custom: {
    50: '#a3af7c',
    500: '#7b8f47',
    950: '#000000',
  },
}
SCSS
$custom: #7b8f47;
$custom-light: #a3af7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8f47",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 71
  },
  "hsl": {
    "h": 76.667,
    "s": 33.645,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6175,
    "c": 0.1005,
    "h": 122.2
  },
  "luminance": 0.24311
}

Semantic roles & 50–950 ramp

primary
#7B8F47
secondary
#8E81B1
accent
#5ECA7C
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7B8F47

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

Preview Lab → · Contrast checker → · Palette generator →

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