#7A8B56#7A8B56

#7A8B56 is a mid, moderate yellow-green. Relative luminance 0.233; OKLCH L 61.0% C 0.078 H 123.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7A8B56
RGBrgb(122, 139, 86)
HSLhsl(79, 24%, 44%)
HSVhsv(79, 38%, 55%)
CMYKcmyk(12.2%, 0%, 38.1%, 45.5%)
CIE-LABlab(55.35, -15.52, 26.35)
CIE-LCHlch(55.35, 30.58, 120.50°)
OKLaboklab(60.97% -0.0424 0.0649)
OKLCHoklch(60.97% 0.078 123.2)
XYZxyz(18.9383, 23.2747, 12.2970)
Luminance0.2328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8B56 #67568B
analogous
#8B8256 #7A8B56 #608B56
triadic
#7A8B56 #567A8B #8B567A
tetradic
#7A8B56 #568B82 #67568B #8B5660
square
#7A8B56 #568B82 #67568B #8B5660
split-complementary
#7A8B56 #56608B #82568B
monochromatic
#383F27 #59653F #7A8B56 #99A975 #B5C19B

Accessibility & contrast

On white

3.71
#7A8B56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7A8B56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8B56
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8B56#FFFFFF#000000##000000
##7A8B561.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918552
Deuteranopia (green-blind)
#8E8459
Tritanopia (blue-blind)
#7E867E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7a8b56;
/* rgb */ color: rgb(122, 139, 86);
/* oklch */ color: oklch(61.0% 0.078 123.2);
Tailwind
colors: {
  custom: {
    50: '#a1ac86',
    500: '#7a8b56',
    950: '#000000',
  },
}
SCSS
$custom: #7a8b56;
$custom-light: #a1ac86;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8b56",
  "rgb": {
    "r": 122,
    "g": 139,
    "b": 86
  },
  "hsl": {
    "h": 79.245,
    "s": 23.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60966,
    "c": 0.07758,
    "h": 123.2
  },
  "luminance": 0.23275
}

Semantic roles & 50–950 ramp

primary
#7A8B56
secondary
#998EAE
accent
#68C084
background
#FAFAF8
surface
#F3F4EF
border
#CDCECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7A8B56

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

Preview Lab → · Contrast checker → · Palette generator →

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