#7D8A3E#7D8A3E

#7D8A3E is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.6% C 0.102 H 117.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7D8A3E
RGBrgb(125, 138, 62)
HSLhsl(70, 38%, 39%)
HSVhsv(70, 55%, 54%)
CMYKcmyk(9.4%, 0%, 55.1%, 45.9%)
CIE-LABlab(54.95, -16.51, 38.55)
CIE-LCHlch(54.95, 41.94, 113.18°)
OKLaboklab(60.6% -0.0474 0.0905)
OKLCHoklch(60.6% 0.102 117.6)
XYZxyz(18.4157, 22.8849, 8.0036)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A3E #4B3E8A
analogous
#8A713E #7D8A3E #578A3E
triadic
#7D8A3E #3E7D8A #8A3E7D
tetradic
#7D8A3E #3E8A71 #4B3E8A #8A3E57
square
#7D8A3E #3E8A71 #4B3E8A #8A3E57
split-complementary
#7D8A3E #3E578A #713E8A
monochromatic
#313618 #57602B #7D8A3E #A2B253 #B9C57E

Accessibility & contrast

On white

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

On black

5.58
#7D8A3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A3E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A3E#FFFFFF#000000##000000
##7D8A3E1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928337
Deuteranopia (green-blind)
#918442
Tritanopia (blue-blind)
#848379
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7d8a3e;
/* rgb */ color: rgb(125, 138, 62);
/* oklch */ color: oklch(60.6% 0.102 117.6);
Tailwind
colors: {
  custom: {
    50: '#a4ac76',
    500: '#7d8a3e',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a3e;
$custom-light: #a4ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a3e",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 70.263,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60595,
    "c": 0.10213,
    "h": 117.6
  },
  "luminance": 0.22885
}

Semantic roles & 50–950 ramp

primary
#7D8A3E
secondary
#7F75AF
accent
#5ACE6E
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D8A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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