#7B8B2B#7B8B2B

#7B8B2B is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.5% C 0.121 H 118.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7B8B2B
RGBrgb(123, 139, 43)
HSLhsl(70, 53%, 36%)
HSVhsv(70, 69%, 55%)
CMYKcmyk(11.5%, 0%, 69.1%, 45.5%)
CIE-LABlab(54.92, -19.42, 47.21)
CIE-LCHlch(54.92, 51.05, 112.36°)
OKLaboklab(60.47% -0.0574 0.1064)
OKLCHoklch(60.47% 0.121 118.3)
XYZxyz(17.8374, 22.8508, 5.7560)
Luminance0.2285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8B2B #3B2B8B
analogous
#8B6B2B #7B8B2B #4B8B2B
triadic
#7B8B2B #2B7B8B #8B2B7B
tetradic
#7B8B2B #2B8B6B #3B2B8B #8B2B4B
square
#7B8B2B #2B8B6B #3B2B8B #8B2B4B
split-complementary
#7B8B2B #2B4B8B #6B2B8B
monochromatic
#282E0E #525C1D #7B8B2B #A4BA39 #BCCE62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B8B2B#FFFFFF#000000##000000
##7B8B2B1.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)
#94831D
Deuteranopia (green-blind)
#928432
Tritanopia (blue-blind)
#828378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7b8b2b;
/* rgb */ color: rgb(123, 139, 43);
/* oklch */ color: oklch(60.5% 0.121 118.3);
Tailwind
colors: {
  custom: {
    50: '#a4ac6a',
    500: '#7b8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7b8b2b;
$custom-light: #a4ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8b2b",
  "rgb": {
    "r": 123,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 70,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.12087,
    "h": 118.3
  },
  "luminance": 0.22851
}

Semantic roles & 50–950 ramp

primary
#7B8B2B
secondary
#6C5DB5
accent
#4CDC64
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7B8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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