#7D8A41#7D8A41

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

Color values

HEX#7D8A41
RGBrgb(125, 138, 65)
HSLhsl(71, 36%, 40%)
HSVhsv(71, 53%, 54%)
CMYKcmyk(9.4%, 0%, 52.9%, 45.9%)
CIE-LABlab(54.99, -16.22, 37.09)
CIE-LCHlch(54.99, 40.48, 113.62°)
OKLaboklab(60.63% -0.0462 0.0876)
OKLCHoklch(60.63% 0.099 117.8)
XYZxyz(18.5003, 22.9187, 8.4492)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A41 #4E418A
analogous
#8A7341 #7D8A41 #588A41
triadic
#7D8A41 #417D8A #8A417D
tetradic
#7D8A41 #418A73 #4E418A #8A4158
square
#7D8A41 #418A73 #4E418A #8A4158
split-complementary
#7D8A41 #41588A #73418A
monochromatic
#32371A #57602D #7D8A41 #A1B058 #B8C482

Accessibility & contrast

On white

3.76
#7D8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8A41#FFFFFF#000000##000000
##7D8A411.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833A
Deuteranopia (green-blind)
#918445
Tritanopia (blue-blind)
#838379
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8a41;
/* rgb */ color: rgb(125, 138, 65);
/* oklch */ color: oklch(60.6% 0.099 117.8);
Tailwind
colors: {
  custom: {
    50: '#a4ac78',
    500: '#7d8a41',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a41;
$custom-light: #a4ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a41",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 70.685,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.09906,
    "h": 117.8
  },
  "luminance": 0.22919
}

Semantic roles & 50–950 ramp

primary
#7D8A41
secondary
#8278AE
accent
#5CCC70
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7D8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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