#7D8D41#7D8D41

#7D8D41 is a mid, moderate yellow-green. Relative luminance 0.238; OKLCH L 61.3% C 0.103 H 119.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7D8D41
RGBrgb(125, 141, 65)
HSLhsl(73, 37%, 40%)
HSVhsv(73, 54%, 55%)
CMYKcmyk(11.3%, 0%, 53.9%, 44.7%)
CIE-LABlab(55.88, -17.79, 38.14)
CIE-LCHlch(55.88, 42.08, 115.01°)
OKLaboklab(61.35% -0.0507 0.0899)
OKLCHoklch(61.35% 0.103 119.4)
XYZxyz(18.9366, 23.7915, 8.5946)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D41 #51418D
analogous
#8D7741 #7D8D41 #578D41
triadic
#7D8D41 #417D8D #8D417D
tetradic
#7D8D41 #418D77 #51418D #8D4157
square
#7D8D41 #418D77 #51418D #8D4157
split-complementary
#7D8D41 #41578D #77418D
monochromatic
#33391A #58632E #7D8D41 #A0B259 #B8C683

Accessibility & contrast

On white

3.65
#7D8D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7D8D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D41
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D41#FFFFFF#000000##000000
##7D8D411.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95863A
Deuteranopia (green-blind)
#938645
Tritanopia (blue-blind)
#83867C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8d41;
/* rgb */ color: rgb(125, 141, 65);
/* oklch */ color: oklch(61.3% 0.103 119.4);
Tailwind
colors: {
  custom: {
    50: '#a4ae78',
    500: '#7d8d41',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d41;
$custom-light: #a4ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d41",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 72.632,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.10319,
    "h": 119.4
  },
  "luminance": 0.23791
}

Semantic roles & 50–950 ramp

primary
#7D8D41
secondary
#8579B0
accent
#5BCD73
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7D8D41

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

Preview Lab → · Contrast checker → · Palette generator →

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