#7D8D3E#7D8D3E

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

Color values

HEX#7D8D3E
RGBrgb(125, 141, 62)
HSLhsl(72, 39%, 40%)
HSVhsv(72, 56%, 55%)
CMYKcmyk(11.3%, 0%, 56%, 44.7%)
CIE-LABlab(55.84, -18.08, 39.59)
CIE-LCHlch(55.84, 43.52, 114.55°)
OKLaboklab(61.31% -0.0518 0.0927)
OKLCHoklch(61.31% 0.106 119.2)
XYZxyz(18.8520, 23.7576, 8.1490)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D3E #4E3E8D
analogous
#8D763E #7D8D3E #568D3E
triadic
#7D8D3E #3E7D8D #8D3E7D
tetradic
#7D8D3E #3E8D76 #4E3E8D #8D3E56
square
#7D8D3E #3E8D76 #4E3E8D #8D3E56
split-complementary
#7D8D3E #3E568D #763E8D
monochromatic
#323819 #57622B #7D8D3E #A1B454 #B8C77F

Accessibility & contrast

On white

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

On black

5.75
#7D8D3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D3E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D3E#FFFFFF#000000##000000
##7D8D3E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958636
Deuteranopia (green-blind)
#938643
Tritanopia (blue-blind)
#83867B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8d3e;
/* rgb */ color: rgb(125, 141, 62);
/* oklch */ color: oklch(61.3% 0.106 119.2);
Tailwind
colors: {
  custom: {
    50: '#a4ae76',
    500: '#7d8d3e',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d3e;
$custom-light: #a4ae76;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d3e",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 72.152,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.1062,
    "h": 119.2
  },
  "luminance": 0.23758
}

Semantic roles & 50–950 ramp

primary
#7D8D3E
secondary
#8276B1
accent
#59CF71
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7D8D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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