#7B8A46#7B8A46

#7B8A46 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.5% C 0.094 H 119.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7B8A46
RGBrgb(123, 138, 70)
HSLhsl(73, 33%, 41%)
HSVhsv(73, 49%, 54%)
CMYKcmyk(10.9%, 0%, 49.3%, 45.9%)
CIE-LABlab(54.90, -16.54, 34.37)
CIE-LCHlch(54.90, 38.15, 115.70°)
OKLaboklab(60.54% -0.0466 0.0821)
OKLCHoklch(60.54% 0.094 119.6)
XYZxyz(18.3625, 22.8302, 9.2325)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A46 #55468A
analogous
#8A7746 #7B8A46 #598A46
triadic
#7B8A46 #467B8A #8A467B
tetradic
#7B8A46 #468A77 #55468A #8A4659
square
#7B8A46 #468A77 #55468A #8A4659
split-complementary
#7B8A46 #46598A #77468A
monochromatic
#33391D #576131 #7B8A46 #9DAE5F #B6C388

Accessibility & contrast

On white

3.77
#7B8A46 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7B8A46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A46
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A46#FFFFFF#000000##000000
##7B8A461.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918340
Deuteranopia (green-blind)
#90844A
Tritanopia (blue-blind)
#81847A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8a46;
/* rgb */ color: rgb(123, 138, 70);
/* oklch */ color: oklch(60.5% 0.094 119.6);
Tailwind
colors: {
  custom: {
    50: '#a2ac7b',
    500: '#7b8a46',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a46;
$custom-light: #a2ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a46",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 73.235,
    "s": 32.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.60542,
    "c": 0.0944,
    "h": 119.6
  },
  "luminance": 0.2283
}

Semantic roles & 50–950 ramp

primary
#7B8A46
secondary
#887EAE
accent
#5FC976
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7B8A46

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

Preview Lab → · Contrast checker → · Palette generator →

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