#7C8D32#7C8D32

#7C8D32 is a mid, moderate yellow-green. Relative luminance 0.236; OKLCH L 61.1% C 0.118 H 119.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7C8D32
RGBrgb(124, 141, 50)
HSLhsl(71, 48%, 37%)
HSVhsv(71, 65%, 55%)
CMYKcmyk(12.1%, 0%, 64.5%, 44.7%)
CIE-LABlab(55.65, -19.52, 44.99)
CIE-LCHlch(55.65, 49.04, 113.46°)
OKLaboklab(61.1% -0.057 0.1028)
OKLCHoklch(61.1% 0.118 119)
XYZxyz(18.4131, 23.5652, 6.5955)
Luminance0.2356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D32 #43328D
analogous
#8D7132 #7C8D32 #4E8D32
triadic
#7C8D32 #327C8D #8D327C
tetradic
#7C8D32 #328D71 #43328D #8D324E
square
#7C8D32 #328D71 #43328D #8D324E
split-complementary
#7C8D32 #324E8D #71328D
monochromatic
#2D3312 #546022 #7C8D32 #A4BA42 #BACC6E

Accessibility & contrast

On white

3.68
#7C8D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#7C8D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D32
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D32#FFFFFF#000000##000000
##7C8D321.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968527
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#83867A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d32;
/* rgb */ color: rgb(124, 141, 50);
/* oklch */ color: oklch(61.1% 0.118 119.0);
Tailwind
colors: {
  custom: {
    50: '#a4ae6e',
    500: '#7c8d32',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d32;
$custom-light: #a4ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d32",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 71.209,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61096,
    "c": 0.11751,
    "h": 119
  },
  "luminance": 0.23565
}

Semantic roles & 50–950 ramp

primary
#7C8D32
secondary
#7668B3
accent
#51D76A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8D32

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

Preview Lab → · Contrast checker → · Palette generator →

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