#7D8D2E#7D8D2E

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

Color values

HEX#7D8D2E
RGBrgb(125, 141, 46)
HSLhsl(70, 51%, 37%)
HSVhsv(70, 67%, 55%)
CMYKcmyk(11.3%, 0%, 67.4%, 44.7%)
CIE-LABlab(55.69, -19.38, 46.80)
CIE-LCHlch(55.69, 50.65, 112.49°)
OKLaboklab(61.14% -0.0571 0.106)
OKLCHoklch(61.14% 0.12 118.3)
XYZxyz(18.4758, 23.6071, 6.1676)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D2E #3E2E8D
analogous
#8D6E2E #7D8D2E #4E8D2E
triadic
#7D8D2E #2E7D8D #8D2E7D
tetradic
#7D8D2E #2E8D6E #3E2E8D #8D2E4E
square
#7D8D2E #2E8D6E #3E2E8D #8D2E4E
split-complementary
#7D8D2E #2E4E8D #6E2E8D
monochromatic
#2B3110 #545F1F #7D8D2E #A6BB3D #BCCE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8D2E#FFFFFF#000000##000000
##7D8D2E1.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)
#968521
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#84857A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d8d2e;
/* rgb */ color: rgb(125, 141, 46);
/* oklch */ color: oklch(61.1% 0.120 118.3);
Tailwind
colors: {
  custom: {
    50: '#a5ae6c',
    500: '#7d8d2e',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d2e;
$custom-light: #a5ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d2e",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 70.105,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.12035,
    "h": 118.3
  },
  "luminance": 0.23607
}

Semantic roles & 50–950 ramp

primary
#7D8D2E
secondary
#7062B5
accent
#4EDA65
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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