#7C8F32#7C8F32

#7C8F32 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.6% C 0.120 H 119.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7C8F32
RGBrgb(124, 143, 50)
HSLhsl(72, 48%, 38%)
HSVhsv(72, 65%, 56%)
CMYKcmyk(13.3%, 0%, 65%, 43.9%)
CIE-LABlab(56.25, -20.55, 45.63)
CIE-LCHlch(56.25, 50.04, 114.25°)
OKLaboklab(61.58% -0.0599 0.1041)
OKLCHoklch(61.58% 0.12 119.9)
XYZxyz(18.7106, 24.1604, 6.6947)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F32 #45328F
analogous
#8F7332 #7C8F32 #4D8F32
triadic
#7C8F32 #327C8F #8F327C
tetradic
#7C8F32 #328F73 #45328F #8F324D
square
#7C8F32 #328F73 #45328F #8F324D
split-complementary
#7C8F32 #324D8F #73328F
monochromatic
#2D3412 #556222 #7C8F32 #A3BC42 #B9CD6F

Accessibility & contrast

On white

3.60
#7C8F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#7C8F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F32
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F32#FFFFFF#000000##000000
##7C8F321.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988726
Deuteranopia (green-blind)
#968739
Tritanopia (blue-blind)
#83887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f32;
/* rgb */ color: rgb(124, 143, 50);
/* oklch */ color: oklch(61.6% 0.120 119.9);
Tailwind
colors: {
  custom: {
    50: '#a4af6f',
    500: '#7c8f32',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f32;
$custom-light: #a4af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f32",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 72.258,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61577,
    "c": 0.12009,
    "h": 119.9
  },
  "luminance": 0.2416
}

Semantic roles & 50–950 ramp

primary
#7C8F32
secondary
#7868B4
accent
#50D86C
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #7C8F32

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

Preview Lab → · Contrast checker → · Palette generator →

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