#7C8A4F#7C8A4F

#7C8A4F is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.8% C 0.084 H 119.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7C8A4F
RGBrgb(124, 138, 79)
HSLhsl(74, 27%, 43%)
HSVhsv(74, 43%, 54%)
CMYKcmyk(10.1%, 0%, 42.8%, 45.9%)
CIE-LABlab(55.10, -15.08, 29.87)
CIE-LCHlch(55.10, 33.46, 116.79°)
OKLaboklab(60.77% -0.0417 0.0726)
OKLCHoklch(60.77% 0.084 119.9)
XYZxyz(18.8120, 23.0266, 10.8492)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A4F #5D4F8A
analogous
#8A7A4F #7C8A4F #5F8A4F
triadic
#7C8A4F #4F7C8A #8A4F7C
tetradic
#7C8A4F #4F8A7A #5D4F8A #8A4F5F
square
#7C8A4F #4F8A7A #5D4F8A #8A4F5F
split-complementary
#7C8A4F #4F5F8A #7A4F8A
monochromatic
#363C22 #596339 #7C8A4F #9CAB6C #B6C193

Accessibility & contrast

On white

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

On black

5.61
#7C8A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A4F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A4F#FFFFFF#000000##000000
##7C8A4F1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91844A
Deuteranopia (green-blind)
#8F8452
Tritanopia (blue-blind)
#81847C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a4f;
/* rgb */ color: rgb(124, 138, 79);
/* oklch */ color: oklch(60.8% 0.084 119.9);
Tailwind
colors: {
  custom: {
    50: '#a3ac81',
    500: '#7c8a4f',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a4f;
$custom-light: #a3ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a4f",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 74.237,
    "s": 27.189,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60765,
    "c": 0.08375,
    "h": 119.9
  },
  "luminance": 0.23027
}

Semantic roles & 50–950 ramp

primary
#7C8A4F
secondary
#9087AE
accent
#64C47B
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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