#7D8A3D#7D8A3D

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

Color values

HEX#7D8A3D
RGBrgb(125, 138, 61)
HSLhsl(70, 39%, 39%)
HSVhsv(70, 56%, 54%)
CMYKcmyk(9.4%, 0%, 55.8%, 45.9%)
CIE-LABlab(54.94, -16.60, 39.04)
CIE-LCHlch(54.94, 42.42, 113.04°)
OKLaboklab(60.58% -0.0477 0.0914)
OKLCHoklch(60.58% 0.103 117.6)
XYZxyz(18.3885, 22.8740, 7.8604)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A3D #4A3D8A
analogous
#8A713D #7D8A3D #578A3D
triadic
#7D8A3D #3D7D8A #8A3D7D
tetradic
#7D8A3D #3D8A71 #4A3D8A #8A3D57
square
#7D8A3D #3D8A71 #4A3D8A #8A3D57
split-complementary
#7D8A3D #3D578A #713D8A
monochromatic
#303517 #57602A #7D8A3D #A2B252 #B9C57C

Accessibility & contrast

On white

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

On black

5.57
#7D8A3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A3D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A3D#FFFFFF#000000##000000
##7D8A3D1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d8a3d;
/* rgb */ color: rgb(125, 138, 61);
/* oklch */ color: oklch(60.6% 0.103 117.6);
Tailwind
colors: {
  custom: {
    50: '#a4ac75',
    500: '#7d8a3d',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a3d;
$custom-light: #a4ac75;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a3d",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 61
  },
  "hsl": {
    "h": 70.13,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60582,
    "c": 0.10313,
    "h": 117.6
  },
  "luminance": 0.22874
}

Semantic roles & 50–950 ramp

primary
#7D8A3D
secondary
#7E74AF
accent
#59CF6D
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7D8A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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