#7C8B4E#7C8B4E

#7C8B4E is a mid, moderate yellow-green. Relative luminance 0.233; OKLCH L 61.0% C 0.086 H 120.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7C8B4E
RGBrgb(124, 139, 78)
HSLhsl(75, 28%, 43%)
HSVhsv(75, 44%, 55%)
CMYKcmyk(10.8%, 0%, 43.9%, 45.5%)
CIE-LABlab(55.38, -15.73, 30.76)
CIE-LCHlch(55.38, 34.55, 117.09°)
OKLaboklab(60.99% -0.0436 0.0746)
OKLCHoklch(60.99% 0.086 120.3)
XYZxyz(18.9200, 23.3004, 10.7069)
Luminance0.2330 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B4E #5D4E8B
analogous
#8B7C4E #7C8B4E #5D8B4E
triadic
#7C8B4E #4E7C8B #8B4E7C
tetradic
#7C8B4E #4E8B7C #5D4E8B #8B4E5D
square
#7C8B4E #4E8B7C #5D4E8B #8B4E5D
split-complementary
#7C8B4E #4E5D8B #7C4E8B
monochromatic
#363D22 #596438 #7C8B4E #9CAC6B #B6C292

Accessibility & contrast

On white

3.71
#7C8B4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#7C8B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B4E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B4E#FFFFFF#000000##000000
##7C8B4E1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928549
Deuteranopia (green-blind)
#908551
Tritanopia (blue-blind)
#81857C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8b4e;
/* rgb */ color: rgb(124, 139, 78);
/* oklch */ color: oklch(61.0% 0.086 120.3);
Tailwind
colors: {
  custom: {
    50: '#a3ac81',
    500: '#7c8b4e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b4e;
$custom-light: #a3ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b4e",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 74.754,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60985,
    "c": 0.08642,
    "h": 120.3
  },
  "luminance": 0.233
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C8B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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