#7A8A58#7A8A58

#7A8A58 is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.8% C 0.074 H 123.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7A8A58
RGBrgb(122, 138, 88)
HSLhsl(79, 22%, 44%)
HSVhsv(79, 36%, 54%)
CMYKcmyk(11.6%, 0%, 36.2%, 45.9%)
CIE-LABlab(55.09, -14.72, 24.91)
CIE-LCHlch(55.09, 28.93, 120.58°)
OKLaboklab(60.77% -0.0401 0.0617)
OKLCHoklch(60.77% 0.074 123)
XYZxyz(18.8759, 23.0191, 12.6793)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A58 #68588A
analogous
#8A8158 #7A8A58 #618A58
triadic
#7A8A58 #587A8A #8A587A
tetradic
#7A8A58 #588A81 #68588A #8A5861
square
#7A8A58 #588A81 #68588A #8A5861
split-complementary
#7A8A58 #58618A #81588A
monochromatic
#383F28 #596540 #7A8A58 #98A877 #B5C09C

Accessibility & contrast

On white

3.75
#7A8A58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7A8A58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A58
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A58#FFFFFF#000000##000000
##7A8A581.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908454
Deuteranopia (green-blind)
#8D845A
Tritanopia (blue-blind)
#7E857D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7a8a58;
/* rgb */ color: rgb(122, 138, 88);
/* oklch */ color: oklch(60.8% 0.074 123.0);
Tailwind
colors: {
  custom: {
    50: '#a1ac87',
    500: '#7a8a58',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a58;
$custom-light: #a1ac87;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a58",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 88
  },
  "hsl": {
    "h": 79.2,
    "s": 22.124,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.07353,
    "h": 123
  },
  "luminance": 0.23019
}

Semantic roles & 50–950 ramp

primary
#7A8A58
secondary
#9A90AE
accent
#69BF85
background
#F9FAF8
surface
#F2F4EF
border
#CCCECA
text
#0F100B
muted
#7E7F7C

Preview Lab

Preview with #7A8A58

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

Preview Lab → · Contrast checker → · Palette generator →

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