#7B8A45#7B8A45

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

Color values

HEX#7B8A45
RGBrgb(123, 138, 69)
HSLhsl(73, 33%, 41%)
HSVhsv(73, 50%, 54%)
CMYKcmyk(10.9%, 0%, 50%, 45.9%)
CIE-LABlab(54.88, -16.65, 34.88)
CIE-LCHlch(54.88, 38.65, 115.52°)
OKLaboklab(60.53% -0.0469 0.0832)
OKLCHoklch(60.53% 0.095 119.5)
XYZxyz(18.3312, 22.8177, 9.0676)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A45 #54458A
analogous
#8A7645 #7B8A45 #598A45
triadic
#7B8A45 #457B8A #8A457B
tetradic
#7B8A45 #458A76 #54458A #8A4559
square
#7B8A45 #458A76 #54458A #8A4559
split-complementary
#7B8A45 #45598A #76458A
monochromatic
#32381C #576131 #7B8A45 #9DAE5E #B6C387

Accessibility & contrast

On white

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

On black

5.56
#7B8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A45
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A45#FFFFFF#000000##000000
##7B8A451.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833F
Deuteranopia (green-blind)
#908449
Tritanopia (blue-blind)
#81847A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8a45;
/* rgb */ color: rgb(123, 138, 69);
/* oklch */ color: oklch(60.5% 0.095 119.5);
Tailwind
colors: {
  custom: {
    50: '#a2ac7a',
    500: '#7b8a45',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a45;
$custom-light: #a2ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a45",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 73.043,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.09549,
    "h": 119.5
  },
  "luminance": 0.22818
}

Semantic roles & 50–950 ramp

primary
#7B8A45
secondary
#877DAE
accent
#5EC976
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7B8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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