#7D8B4E#7D8B4E

#7D8B4E is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 61.1% C 0.086 H 119.6°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7D8B4E
RGBrgb(125, 139, 78)
HSLhsl(74, 28%, 43%)
HSVhsv(74, 44%, 55%)
CMYKcmyk(10.1%, 0%, 43.9%, 45.5%)
CIE-LABlab(55.46, -15.32, 30.87)
CIE-LCHlch(55.46, 34.46, 116.39°)
OKLaboklab(61.07% -0.0425 0.0748)
OKLCHoklch(61.07% 0.086 119.6)
XYZxyz(19.0653, 23.3753, 10.7138)
Luminance0.2338 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8B4E #5C4E8B
analogous
#8B7A4E #7D8B4E #5F8B4E
triadic
#7D8B4E #4E7D8B #8B4E7D
tetradic
#7D8B4E #4E8B7A #5C4E8B #8B4E5F
square
#7D8B4E #4E8B7A #5C4E8B #8B4E5F
split-complementary
#7D8B4E #4E5F8B #7A4E8B
monochromatic
#363D22 #5A6438 #7D8B4E #9DAC6B #B7C292

Accessibility & contrast

On white

3.70
#7D8B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7D8B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8B4E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8B4E#FFFFFF#000000##000000
##7D8B4E1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928549
Deuteranopia (green-blind)
#908551
Tritanopia (blue-blind)
#82857C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d8b4e;
/* rgb */ color: rgb(125, 139, 78);
/* oklch */ color: oklch(61.1% 0.086 119.6);
Tailwind
colors: {
  custom: {
    50: '#a4ac81',
    500: '#7d8b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7d8b4e;
$custom-light: #a4ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8b4e",
  "rgb": {
    "r": 125,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 73.77,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.61065,
    "c": 0.08606,
    "h": 119.6
  },
  "luminance": 0.23375
}

Semantic roles & 50–950 ramp

primary
#7D8B4E
secondary
#9087AE
accent
#63C47A
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7D8B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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