#7C8A45#7C8A45

#7C8A45 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.6% C 0.095 H 118.8°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7C8A45
RGBrgb(124, 138, 69)
HSLhsl(72, 33%, 41%)
HSVhsv(72, 50%, 54%)
CMYKcmyk(10.1%, 0%, 50%, 45.9%)
CIE-LABlab(54.96, -16.23, 34.99)
CIE-LCHlch(54.96, 38.57, 114.89°)
OKLaboklab(60.61% -0.0458 0.0834)
OKLCHoklch(60.61% 0.095 118.8)
XYZxyz(18.4750, 22.8918, 9.0744)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A45 #53458A
analogous
#8A7545 #7C8A45 #598A45
triadic
#7C8A45 #457C8A #8A457C
tetradic
#7C8A45 #458A75 #53458A #8A4559
square
#7C8A45 #458A75 #53458A #8A4559
split-complementary
#7C8A45 #45598A #75458A
monochromatic
#33381C #576131 #7C8A45 #9EAE5E #B7C387

Accessibility & contrast

On white

3.76
#7C8A45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#7C8A45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A45
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A45#FFFFFF#000000##000000
##7C8A451.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8a45;
/* rgb */ color: rgb(124, 138, 69);
/* oklch */ color: oklch(60.6% 0.095 118.8);
Tailwind
colors: {
  custom: {
    50: '#a3ac7a',
    500: '#7c8a45',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a45;
$custom-light: #a3ac7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a45",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 72.174,
    "s": 33.333,
    "l": 40.588
  },
  "oklch": {
    "l": 0.60609,
    "c": 0.09514,
    "h": 118.8
  },
  "luminance": 0.22892
}

Semantic roles & 50–950 ramp

primary
#7C8A45
secondary
#877DAE
accent
#5EC974
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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