#7D8F4D#7D8F4D

#7D8F4D is a mid, moderate yellow-green. Relative luminance 0.245; OKLCH L 62.0% C 0.093 H 121.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7D8F4D
RGBrgb(125, 143, 77)
HSLhsl(76, 30%, 43%)
HSVhsv(76, 46%, 56%)
CMYKcmyk(12.6%, 0%, 46.2%, 43.9%)
CIE-LABlab(56.63, -17.54, 32.86)
CIE-LCHlch(56.63, 37.25, 118.10°)
OKLaboklab(62% -0.0489 0.0792)
OKLCHoklch(62% 0.093 121.7)
XYZxyz(19.6195, 24.5407, 10.7230)
Luminance0.2454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8F4D #5F4D8F
analogous
#8F804D #7D8F4D #5C8F4D
triadic
#7D8F4D #4D7D8F #8F4D7D
tetradic
#7D8F4D #4D8F80 #5F4D8F #8F4D5C
square
#7D8F4D #4D8F80 #5F4D8F #8F4D5C
split-complementary
#7D8F4D #4D5C8F #804D8F
monochromatic
#373F22 #5A6738 #7D8F4D #9CAF6A #B7C492

Accessibility & contrast

On white

3.55
#7D8F4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#7D8F4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8F4D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8F4D#FFFFFF#000000##000000
##7D8F4D1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968848
Deuteranopia (green-blind)
#948851
Tritanopia (blue-blind)
#82897F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7d8f4d;
/* rgb */ color: rgb(125, 143, 77);
/* oklch */ color: oklch(62.0% 0.093 121.7);
Tailwind
colors: {
  custom: {
    50: '#a4af80',
    500: '#7d8f4d',
    950: '#000000',
  },
}
SCSS
$custom: #7d8f4d;
$custom-light: #a4af80;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8f4d",
  "rgb": {
    "r": 125,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 76.364,
    "s": 30,
    "l": 43.137
  },
  "oklch": {
    "l": 0.61996,
    "c": 0.09309,
    "h": 121.7
  },
  "luminance": 0.24541
}

Semantic roles & 50–950 ramp

primary
#7D8F4D
secondary
#9287B1
accent
#62C67D
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7D8F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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