#7C8A37#7C8A37

#7C8A37 is a mid, moderate yellow-green. Relative luminance 0.227; OKLCH L 60.4% C 0.109 H 117.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7C8A37
RGBrgb(124, 138, 55)
HSLhsl(70, 43%, 38%)
HSVhsv(70, 60%, 54%)
CMYKcmyk(10.1%, 0%, 60.1%, 45.9%)
CIE-LABlab(54.80, -17.57, 41.76)
CIE-LCHlch(54.80, 45.31, 112.81°)
OKLaboklab(60.43% -0.051 0.0966)
OKLCHoklch(60.43% 0.109 117.8)
XYZxyz(18.0905, 22.7380, 7.0496)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A37 #45378A
analogous
#8A6E37 #7C8A37 #538A37
triadic
#7C8A37 #377C8A #8A377C
tetradic
#7C8A37 #378A6E #45378A #8A3753
square
#7C8A37 #378A6E #45378A #8A3753
split-complementary
#7C8A37 #37538A #6E378A
monochromatic
#2D3214 #555E26 #7C8A37 #A3B648 #B9C874

Accessibility & contrast

On white

3.79
#7C8A37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A37#FFFFFF#000000##000000
##7C8A371.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832E
Deuteranopia (green-blind)
#91843C
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a37;
/* rgb */ color: rgb(124, 138, 55);
/* oklch */ color: oklch(60.4% 0.109 117.8);
Tailwind
colors: {
  custom: {
    50: '#a4ac71',
    500: '#7c8a37',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a37;
$custom-light: #a4ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a37",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 55
  },
  "hsl": {
    "h": 70.12,
    "s": 43.005,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60429,
    "c": 0.10922,
    "h": 117.8
  },
  "luminance": 0.22738
}

Semantic roles & 50–950 ramp

primary
#7C8A37
secondary
#786DB0
accent
#55D36A
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8A37

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

Preview Lab → · Contrast checker → · Palette generator →

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