#7C8D37#7C8D37

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

Color values

HEX#7C8D37
RGBrgb(124, 141, 55)
HSLhsl(72, 44%, 38%)
HSVhsv(72, 61%, 55%)
CMYKcmyk(12.1%, 0%, 61%, 44.7%)
CIE-LABlab(55.70, -19.13, 42.76)
CIE-LCHlch(55.70, 46.84, 114.10°)
OKLaboklab(61.15% -0.0554 0.0987)
OKLCHoklch(61.15% 0.113 119.3)
XYZxyz(18.5269, 23.6108, 7.1950)
Luminance0.2361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D37 #48378D
analogous
#8D7337 #7C8D37 #518D37
triadic
#7C8D37 #377C8D #8D377C
tetradic
#7C8D37 #378D73 #48378D #8D3751
square
#7C8D37 #378D73 #48378D #8D3751
split-complementary
#7C8D37 #37518D #73378D
monochromatic
#2F3515 #556126 #7C8D37 #A2B849 #B9C975

Accessibility & contrast

On white

3.67
#7C8D37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#7C8D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D37
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D37#FFFFFF#000000##000000
##7C8D371.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96852D
Deuteranopia (green-blind)
#94863D
Tritanopia (blue-blind)
#83867B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d37;
/* rgb */ color: rgb(124, 141, 55);
/* oklch */ color: oklch(61.1% 0.113 119.3);
Tailwind
colors: {
  custom: {
    50: '#a4ae71',
    500: '#7c8d37',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d37;
$custom-light: #a4ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d37",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 71.86,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61148,
    "c": 0.11318,
    "h": 119.3
  },
  "luminance": 0.23611
}

Semantic roles & 50–950 ramp

primary
#7C8D37
secondary
#7B6EB2
accent
#54D46D
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8D37

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

Preview Lab → · Contrast checker → · Palette generator →

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