#7D8D2F#7D8D2F

#7D8D2F is a mid, moderate yellow-green. Relative luminance 0.236; OKLCH L 61.1% C 0.120 H 118.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7D8D2F
RGBrgb(125, 141, 47)
HSLhsl(70, 50%, 37%)
HSVhsv(70, 67%, 55%)
CMYKcmyk(11.3%, 0%, 66.7%, 44.7%)
CIE-LABlab(55.70, -19.31, 46.38)
CIE-LCHlch(55.70, 50.24, 112.60°)
OKLaboklab(61.15% -0.0568 0.1052)
OKLCHoklch(61.15% 0.12 118.4)
XYZxyz(18.4958, 23.6151, 6.2726)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D2F #3F2F8D
analogous
#8D6E2F #7D8D2F #4E8D2F
triadic
#7D8D2F #2F7D8D #8D2F7D
tetradic
#7D8D2F #2F8D6E #3F2F8D #8D2F4E
square
#7D8D2F #2F8D6E #3F2F8D #8D2F4E
split-complementary
#7D8D2F #2F4E8D #6E2F8D
monochromatic
#2C3110 #545F20 #7D8D2F #A6BB3E #BCCD69

Accessibility & contrast

On white

3.67
#7D8D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7D8D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8D2F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8D2F#FFFFFF#000000##000000
##7D8D2F1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968522
Deuteranopia (green-blind)
#948636
Tritanopia (blue-blind)
#84857A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d8d2f;
/* rgb */ color: rgb(125, 141, 47);
/* oklch */ color: oklch(61.1% 0.120 118.4);
Tailwind
colors: {
  custom: {
    50: '#a5ae6d',
    500: '#7d8d2f',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d2f;
$custom-light: #a5ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d2f",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 70.213,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61147,
    "c": 0.11956,
    "h": 118.4
  },
  "luminance": 0.23615
}

Semantic roles & 50–950 ramp

primary
#7D8D2F
secondary
#7164B4
accent
#4EDA66
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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