#7C8A39#7C8A39

#7C8A39 is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.5% C 0.107 H 117.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7C8A39
RGBrgb(124, 138, 57)
HSLhsl(70, 42%, 38%)
HSVhsv(70, 59%, 54%)
CMYKcmyk(10.1%, 0%, 58.7%, 45.9%)
CIE-LABlab(54.82, -17.39, 40.83)
CIE-LCHlch(54.82, 44.38, 113.07°)
OKLaboklab(60.45% -0.0503 0.0948)
OKLCHoklch(60.45% 0.107 117.9)
XYZxyz(18.1395, 22.7576, 7.3072)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A39 #47398A
analogous
#8A6F39 #7C8A39 #548A39
triadic
#7C8A39 #397C8A #8A397C
tetradic
#7C8A39 #398A6F #47398A #8A3954
square
#7C8A39 #398A6F #47398A #8A3954
split-complementary
#7C8A39 #39548A #6F398A
monochromatic
#2E3315 #555F27 #7C8A39 #A3B54B #B9C777

Accessibility & contrast

On white

3.78
#7C8A39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7C8A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A39
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A39#FFFFFF#000000##000000
##7C8A391.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938330
Deuteranopia (green-blind)
#91843E
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a39;
/* rgb */ color: rgb(124, 138, 57);
/* oklch */ color: oklch(60.5% 0.107 117.9);
Tailwind
colors: {
  custom: {
    50: '#a4ac72',
    500: '#7c8a39',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a39;
$custom-light: #a4ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a39",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 70.37,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.10736,
    "h": 117.9
  },
  "luminance": 0.22757
}

Semantic roles & 50–950 ramp

primary
#7C8A39
secondary
#7A6FB0
accent
#56D16C
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8A39

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

Preview Lab → · Contrast checker → · Palette generator →

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