#7C8E32#7C8E32

#7C8E32 is a mid, moderate yellow-green. Relative luminance 0.239; OKLCH L 61.3% C 0.119 H 119.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7C8E32
RGBrgb(124, 142, 50)
HSLhsl(72, 48%, 38%)
HSVhsv(72, 65%, 56%)
CMYKcmyk(12.7%, 0%, 64.8%, 44.3%)
CIE-LABlab(55.95, -20.04, 45.31)
CIE-LCHlch(55.95, 49.54, 113.86°)
OKLaboklab(61.34% -0.0584 0.1034)
OKLCHoklch(61.34% 0.119 119.5)
XYZxyz(18.5612, 23.8615, 6.6449)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E32 #44328E
analogous
#8E7232 #7C8E32 #4E8E32
triadic
#7C8E32 #327C8E #8E327C
tetradic
#7C8E32 #328E72 #44328E #8E324E
square
#7C8E32 #328E72 #44328E #8E324E
split-complementary
#7C8E32 #324E8E #72328E
monochromatic
#2D3312 #546122 #7C8E32 #A4BB42 #BACC6E

Accessibility & contrast

On white

3.64
#7C8E32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#7C8E32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E32
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E32#FFFFFF#000000##000000
##7C8E321.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978626
Deuteranopia (green-blind)
#958638
Tritanopia (blue-blind)
#83877B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e32;
/* rgb */ color: rgb(124, 142, 50);
/* oklch */ color: oklch(61.3% 0.119 119.5);
Tailwind
colors: {
  custom: {
    50: '#a4af6e',
    500: '#7c8e32',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e32;
$custom-light: #a4af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e32",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 50
  },
  "hsl": {
    "h": 71.739,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61336,
    "c": 0.1188,
    "h": 119.5
  },
  "luminance": 0.23861
}

Semantic roles & 50–950 ramp

primary
#7C8E32
secondary
#7768B4
accent
#50D86B
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8E32

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

Preview Lab → · Contrast checker → · Palette generator →

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