#7C8F37#7C8F37

#7C8F37 is a mid, moderate yellow-green. Relative luminance 0.242; OKLCH L 61.6% C 0.116 H 120.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7C8F37
RGBrgb(124, 143, 55)
HSLhsl(73, 44%, 39%)
HSVhsv(73, 62%, 56%)
CMYKcmyk(13.3%, 0%, 61.5%, 43.9%)
CIE-LABlab(56.29, -20.16, 43.42)
CIE-LCHlch(56.29, 47.87, 114.91°)
OKLaboklab(61.63% -0.0583 0.1001)
OKLCHoklch(61.63% 0.116 120.2)
XYZxyz(18.8245, 24.2059, 7.2942)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F37 #4A378F
analogous
#8F7637 #7C8F37 #508F37
triadic
#7C8F37 #377C8F #8F377C
tetradic
#7C8F37 #378F76 #4A378F #8F3750
square
#7C8F37 #378F76 #4A378F #8F3750
split-complementary
#7C8F37 #37508F #76378F
monochromatic
#2F3715 #566326 #7C8F37 #A1B94A #B8CA76

Accessibility & contrast

On white

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

On black

5.84
#7C8F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F37
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F37#FFFFFF#000000##000000
##7C8F371.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#98872D
Deuteranopia (green-blind)
#95873D
Tritanopia (blue-blind)
#83887C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f37;
/* rgb */ color: rgb(124, 143, 55);
/* oklch */ color: oklch(61.6% 0.116 120.2);
Tailwind
colors: {
  custom: {
    50: '#a4af72',
    500: '#7c8f37',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f37;
$custom-light: #a4af72;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f37",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 72.955,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.11582,
    "h": 120.2
  },
  "luminance": 0.24206
}

Semantic roles & 50–950 ramp

primary
#7C8F37
secondary
#7D6FB3
accent
#54D46F
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8F37

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

Preview Lab → · Contrast checker → · Palette generator →

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