#7C8951#7C8951

#7C8951 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.6% C 0.080 H 119.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7C8951
RGBrgb(124, 137, 81)
HSLhsl(74, 26%, 43%)
HSVhsv(74, 41%, 54%)
CMYKcmyk(9.5%, 0%, 40.9%, 46.3%)
CIE-LABlab(54.84, -14.29, 28.45)
CIE-LCHlch(54.84, 31.84, 116.68°)
OKLaboklab(60.56% -0.0394 0.0695)
OKLCHoklch(60.56% 0.08 119.5)
XYZxyz(18.7431, 22.7706, 11.1907)
Luminance0.2277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8951 #5E5189
analogous
#897A51 #7C8951 #608951
triadic
#7C8951 #517C89 #89517C
tetradic
#7C8951 #51897A #5E5189 #895160
square
#7C8951 #51897A #5E5189 #895160
split-complementary
#7C8951 #516089 #7A5189
monochromatic
#363C24 #59633A #7C8951 #9BA96E #B6C094

Accessibility & contrast

On white

3.78
#7C8951 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7C8951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8951
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8951#FFFFFF#000000##000000
##7C89511.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90834D
Deuteranopia (green-blind)
#8E8354
Tritanopia (blue-blind)
#81847B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8951;
/* rgb */ color: rgb(124, 137, 81);
/* oklch */ color: oklch(60.6% 0.080 119.5);
Tailwind
colors: {
  custom: {
    50: '#a3ab83',
    500: '#7c8951',
    950: '#000000',
  },
}
SCSS
$custom: #7c8951;
$custom-light: #a3ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8951",
  "rgb": {
    "r": 124,
    "g": 137,
    "b": 81
  },
  "hsl": {
    "h": 73.929,
    "s": 25.688,
    "l": 42.745
  },
  "oklch": {
    "l": 0.60563,
    "c": 0.07988,
    "h": 119.5
  },
  "luminance": 0.2277
}

Semantic roles & 50–950 ramp

primary
#7C8951
secondary
#9189AD
accent
#66C27B
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8951

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

Preview Lab → · Contrast checker → · Palette generator →

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