#7D8D2D#7D8D2D

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

Color values

HEX#7D8D2D
RGBrgb(125, 141, 45)
HSLhsl(70, 52%, 36%)
HSVhsv(70, 68%, 55%)
CMYKcmyk(11.3%, 0%, 68.1%, 44.7%)
CIE-LABlab(55.68, -19.45, 47.21)
CIE-LCHlch(55.68, 51.06, 112.39°)
OKLaboklab(61.13% -0.0574 0.1067)
OKLCHoklch(61.13% 0.121 118.3)
XYZxyz(18.4563, 23.5993, 6.0650)
Luminance0.2360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8D2D #3D2D8D
analogous
#8D6D2D #7D8D2D #4D8D2D
triadic
#7D8D2D #2D7D8D #8D2D7D
tetradic
#7D8D2D #2D8D6D #3D2D8D #8D2D4D
square
#7D8D2D #2D8D6D #3D2D8D #8D2D4D
split-complementary
#7D8D2D #2D4D8D #6D2D8D
monochromatic
#2B300F #545F1E #7D8D2D #A6BB3C #BDCE66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D8D2D#FFFFFF#000000##000000
##7D8D2D1.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)
#96851F
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#84857A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7d8d2d;
/* rgb */ color: rgb(125, 141, 45);
/* oklch */ color: oklch(61.1% 0.121 118.3);
Tailwind
colors: {
  custom: {
    50: '#a5ae6c',
    500: '#7d8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d8d2d;
$custom-light: #a5ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8d2d",
  "rgb": {
    "r": 125,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 70,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.12111,
    "h": 118.3
  },
  "luminance": 0.23599
}

Semantic roles & 50–950 ramp

primary
#7D8D2D
secondary
#6F61B5
accent
#4DDB64
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7D8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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