#7D8A4A#7D8A4A

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

Color values

HEX#7D8A4A
RGBrgb(125, 138, 74)
HSLhsl(72, 30%, 42%)
HSVhsv(72, 46%, 54%)
CMYKcmyk(9.4%, 0%, 46.4%, 45.9%)
CIE-LABlab(55.10, -15.25, 32.56)
CIE-LCHlch(55.10, 35.96, 115.10°)
OKLaboklab(60.77% -0.0427 0.0784)
OKLCHoklch(60.77% 0.089 118.6)
XYZxyz(18.7821, 23.0315, 9.9333)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A4A #574A8A
analogous
#8A774A #7D8A4A #5D8A4A
triadic
#7D8A4A #4A7D8A #8A4A7D
tetradic
#7D8A4A #4A8A77 #574A8A #8A4A5D
square
#7D8A4A #4A8A77 #574A8A #8A4A5D
split-complementary
#7D8A4A #4A5D8A #774A8A
monochromatic
#353A1F #596235 #7D8A4A #9EAC65 #B7C28D

Accessibility & contrast

On white

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

On black

5.61
#7D8A4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A4A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A4A#FFFFFF#000000##000000
##7D8A4A1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#918445
Deuteranopia (green-blind)
#90844D
Tritanopia (blue-blind)
#83847B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8a4a;
/* rgb */ color: rgb(125, 138, 74);
/* oklch */ color: oklch(60.8% 0.089 118.6);
Tailwind
colors: {
  custom: {
    50: '#a4ac7e',
    500: '#7d8a4a',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a4a;
$custom-light: #a4ac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a4a",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 74
  },
  "hsl": {
    "h": 72.188,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.08923,
    "h": 118.6
  },
  "luminance": 0.23031
}

Semantic roles & 50–950 ramp

primary
#7D8A4A
secondary
#8B82AE
accent
#61C676
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7D8A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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