#7B8A41#7B8A41

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

Color values

HEX#7B8A41
RGBrgb(123, 138, 65)
HSLhsl(72, 36%, 40%)
HSVhsv(72, 53%, 54%)
CMYKcmyk(10.9%, 0%, 52.9%, 45.9%)
CIE-LABlab(54.83, -17.07, 36.87)
CIE-LCHlch(54.83, 40.63, 114.84°)
OKLaboklab(60.47% -0.0485 0.0872)
OKLCHoklch(60.47% 0.1 119.1)
XYZxyz(18.2112, 22.7697, 8.4356)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8A41 #50418A
analogous
#8A7541 #7B8A41 #568A41
triadic
#7B8A41 #417B8A #8A417B
tetradic
#7B8A41 #418A75 #50418A #8A4156
square
#7B8A41 #418A75 #50418A #8A4156
split-complementary
#7B8A41 #41568A #75418A
monochromatic
#31371A #56602D #7B8A41 #9EB058 #B6C482

Accessibility & contrast

On white

3.78
#7B8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7B8A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B8A41
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8A41#FFFFFF#000000##000000
##7B8A411.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833A
Deuteranopia (green-blind)
#908445
Tritanopia (blue-blind)
#818379
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8a41;
/* rgb */ color: rgb(123, 138, 65);
/* oklch */ color: oklch(60.5% 0.100 119.1);
Tailwind
colors: {
  custom: {
    50: '#a3ac78',
    500: '#7b8a41',
    950: '#000000',
  },
}
SCSS
$custom: #7b8a41;
$custom-light: #a3ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8a41",
  "rgb": {
    "r": 123,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 72.329,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60472,
    "c": 0.09975,
    "h": 119.1
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#7B8A41
secondary
#8378AE
accent
#5CCC73
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7B8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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