#7C8952#7C8952

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

Color values

HEX#7C8952
RGBrgb(124, 137, 82)
HSLhsl(74, 25%, 43%)
HSVhsv(74, 40%, 54%)
CMYKcmyk(9.5%, 0%, 40.1%, 46.3%)
CIE-LABlab(54.85, -14.17, 27.92)
CIE-LCHlch(54.85, 31.31, 116.90°)
OKLaboklab(60.58% -0.0389 0.0684)
OKLCHoklch(60.58% 0.079 119.7)
XYZxyz(18.7808, 22.7857, 11.3897)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8952 #5F5289
analogous
#897A52 #7C8952 #608952
triadic
#7C8952 #527C89 #89527C
tetradic
#7C8952 #52897A #5F5289 #895260
square
#7C8952 #52897A #5F5289 #895260
split-complementary
#7C8952 #526089 #7A5289
monochromatic
#373C24 #59633B #7C8952 #9BA96F #B6C096

Accessibility & contrast

On white

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

On black

5.56
#7C8952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8952
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8952#FFFFFF#000000##000000
##7C89521.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#8E8355
Tritanopia (blue-blind)
#81847B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8952;
/* rgb */ color: rgb(124, 137, 82);
/* oklch */ color: oklch(60.6% 0.079 119.7);
Tailwind
colors: {
  custom: {
    50: '#a3ab83',
    500: '#7c8952',
    950: '#000000',
  },
}
SCSS
$custom: #7c8952;
$custom-light: #a3ab83;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8952",
  "rgb": {
    "r": 124,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 74.182,
    "s": 25.114,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.07866,
    "h": 119.7
  },
  "luminance": 0.22786
}

Semantic roles & 50–950 ramp

primary
#7C8952
secondary
#928AAD
accent
#66C27C
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8952

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

Preview Lab → · Contrast checker → · Palette generator →

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