#7C8D39#7C8D39

#7C8D39 is a mid, moderate yellow-green. Relative luminance 0.236; OKLCH L 61.2% C 0.111 H 119.4°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7C8D39
RGBrgb(124, 141, 57)
HSLhsl(72, 42%, 39%)
HSVhsv(72, 60%, 55%)
CMYKcmyk(12.1%, 0%, 59.6%, 44.7%)
CIE-LABlab(55.72, -18.96, 41.84)
CIE-LCHlch(55.72, 45.93, 114.38°)
OKLaboklab(61.17% -0.0547 0.097)
OKLCHoklch(61.17% 0.111 119.4)
XYZxyz(18.5758, 23.6303, 7.4526)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D39 #4A398D
analogous
#8D7439 #7C8D39 #528D39
triadic
#7C8D39 #397C8D #8D397C
tetradic
#7C8D39 #398D74 #4A398D #8D3952
square
#7C8D39 #398D74 #4A398D #8D3952
split-complementary
#7C8D39 #39528D #74398D
monochromatic
#2F3616 #566127 #7C8D39 #A1B74C #B8C878

Accessibility & contrast

On white

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

On black

5.73
#7C8D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D39
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D39#FFFFFF#000000##000000
##7C8D391.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958630
Deuteranopia (green-blind)
#93863E
Tritanopia (blue-blind)
#83867B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d39;
/* rgb */ color: rgb(124, 141, 57);
/* oklch */ color: oklch(61.2% 0.111 119.4);
Tailwind
colors: {
  custom: {
    50: '#a4ae73',
    500: '#7c8d39',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d39;
$custom-light: #a4ae73;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d39",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 72.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.11135,
    "h": 119.4
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#7C8D39
secondary
#7D70B2
accent
#56D26F
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8D39

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

Preview Lab → · Contrast checker → · Palette generator →

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