#7C8A4E#7C8A4E

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

Color values

HEX#7C8A4E
RGBrgb(124, 138, 78)
HSLhsl(74, 28%, 42%)
HSVhsv(74, 43%, 54%)
CMYKcmyk(10.1%, 0%, 43.5%, 45.9%)
CIE-LABlab(55.08, -15.20, 30.39)
CIE-LCHlch(55.08, 33.98, 116.58°)
OKLaboklab(60.75% -0.0421 0.0738)
OKLCHoklch(60.75% 0.085 119.7)
XYZxyz(18.7759, 23.0122, 10.6589)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A4E #5C4E8A
analogous
#8A7A4E #7C8A4E #5E8A4E
triadic
#7C8A4E #4E7C8A #8A4E7C
tetradic
#7C8A4E #4E8A7A #5C4E8A #8A4E5E
square
#7C8A4E #4E8A7A #5C4E8A #8A4E5E
split-complementary
#7C8A4E #4E5E8A #7A4E8A
monochromatic
#363C22 #596338 #7C8A4E #9CAB6A #B6C191

Accessibility & contrast

On white

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

On black

5.60
#7C8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A4E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A4E#FFFFFF#000000##000000
##7C8A4E1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#8F8451
Tritanopia (blue-blind)
#81847C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a4e;
/* rgb */ color: rgb(124, 138, 78);
/* oklch */ color: oklch(60.7% 0.085 119.7);
Tailwind
colors: {
  custom: {
    50: '#a3ac80',
    500: '#7c8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a4e;
$custom-light: #a3ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a4e",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 74,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.08494,
    "h": 119.7
  },
  "luminance": 0.23012
}

Semantic roles & 50–950 ramp

primary
#7C8A4E
secondary
#8F86AE
accent
#64C47A
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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