#7D8A4E#7D8A4E

#7D8A4E is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.085 H 119.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7D8A4E
RGBrgb(125, 138, 78)
HSLhsl(73, 28%, 42%)
HSVhsv(73, 43%, 54%)
CMYKcmyk(9.4%, 0%, 43.5%, 45.9%)
CIE-LABlab(55.16, -14.78, 30.50)
CIE-LCHlch(55.16, 33.89, 115.86°)
OKLaboklab(60.83% -0.041 0.074)
OKLCHoklch(60.83% 0.085 119)
XYZxyz(18.9211, 23.0871, 10.6657)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A4E #5B4E8A
analogous
#8A794E #7D8A4E #5F8A4E
triadic
#7D8A4E #4E7D8A #8A4E7D
tetradic
#7D8A4E #4E8A79 #5B4E8A #8A4E5F
square
#7D8A4E #4E8A79 #5B4E8A #8A4E5F
split-complementary
#7D8A4E #4E5F8A #794E8A
monochromatic
#363C22 #5A6338 #7D8A4E #9DAB6A #B7C191

Accessibility & contrast

On white

3.74
#7D8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7D8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A4E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A4E#FFFFFF#000000##000000
##7D8A4E1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#8F8451
Tritanopia (blue-blind)
#82847C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8a4e;
/* rgb */ color: rgb(125, 138, 78);
/* oklch */ color: oklch(60.8% 0.085 119.0);
Tailwind
colors: {
  custom: {
    50: '#a4ac80',
    500: '#7d8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a4e;
$custom-light: #a4ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a4e",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 73,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.0846,
    "h": 119
  },
  "luminance": 0.23087
}

Semantic roles & 50–950 ramp

primary
#7D8A4E
secondary
#8F86AE
accent
#64C479
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7D8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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