#7D8E2E#7D8E2E

#7D8E2E is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 61.4% C 0.122 H 118.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7D8E2E
RGBrgb(125, 142, 46)
HSLhsl(71, 51%, 37%)
HSVhsv(71, 68%, 56%)
CMYKcmyk(12%, 0%, 67.6%, 44.3%)
CIE-LABlab(55.99, -19.89, 47.11)
CIE-LCHlch(55.99, 51.14, 112.89°)
OKLaboklab(61.38% -0.0585 0.1066)
OKLCHoklch(61.38% 0.122 118.8)
XYZxyz(18.6239, 23.9034, 6.2169)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8E2E #3F2E8E
analogous
#8E6F2E #7D8E2E #4D8E2E
triadic
#7D8E2E #2E7D8E #8E2E7D
tetradic
#7D8E2E #2E8E6F #3F2E8E #8E2E4D
square
#7D8E2E #2E8E6F #3F2E8E #8E2E4D
split-complementary
#7D8E2E #2E4D8E #6F2E8E
monochromatic
#2C3210 #54601F #7D8E2E #A6BC3D #BCCE68

Accessibility & contrast

On white

3.63
#7D8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#7D8E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8E2E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8E2E#FFFFFF#000000##000000
##7D8E2E1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#958735
Tritanopia (blue-blind)
#84867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7d8e2e;
/* rgb */ color: rgb(125, 142, 46);
/* oklch */ color: oklch(61.4% 0.122 118.8);
Tailwind
colors: {
  custom: {
    50: '#a5af6c',
    500: '#7d8e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d8e2e;
$custom-light: #a5af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8e2e",
  "rgb": {
    "r": 125,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 70.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.1216,
    "h": 118.8
  },
  "luminance": 0.23903
}

Semantic roles & 50–950 ramp

primary
#7D8E2E
secondary
#7163B5
accent
#4DDB66
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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