#7D8A45#7D8A45

#7D8A45 is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.7% C 0.095 H 118.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7D8A45
RGBrgb(125, 138, 69)
HSLhsl(71, 33%, 41%)
HSVhsv(71, 50%, 54%)
CMYKcmyk(9.4%, 0%, 50%, 45.9%)
CIE-LABlab(55.04, -15.81, 35.10)
CIE-LCHlch(55.04, 38.49, 114.24°)
OKLaboklab(60.69% -0.0447 0.0836)
OKLCHoklch(60.69% 0.095 118.1)
XYZxyz(18.6203, 22.9667, 9.0812)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8A45 #52458A
analogous
#8A7445 #7D8A45 #5B8A45
triadic
#7D8A45 #457D8A #8A457D
tetradic
#7D8A45 #458A74 #52458A #8A455B
square
#7D8A45 #458A74 #52458A #8A455B
split-complementary
#7D8A45 #455B8A #74458A
monochromatic
#33381C #586131 #7D8A45 #9FAE5E #B7C387

Accessibility & contrast

On white

3.75
#7D8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7D8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8A45
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8A45#FFFFFF#000000##000000
##7D8A451.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92843F
Deuteranopia (green-blind)
#908449
Tritanopia (blue-blind)
#83847A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7d8a45;
/* rgb */ color: rgb(125, 138, 69);
/* oklch */ color: oklch(60.7% 0.095 118.1);
Tailwind
colors: {
  custom: {
    50: '#a4ac7a',
    500: '#7d8a45',
    950: '#000000',
  },
}
SCSS
$custom: #7d8a45;
$custom-light: #a4ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8a45",
  "rgb": {
    "r": 125,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 71.304,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.0948,
    "h": 118.1
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

primary
#7D8A45
secondary
#867DAE
accent
#5EC973
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7D8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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