#7C8B3E#7C8B3E

#7C8B3E is a mid, moderate yellow-green. Relative luminance 0.231; OKLCH L 60.8% C 0.104 H 118.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#7C8B3E
RGBrgb(124, 139, 62)
HSLhsl(72, 38%, 39%)
HSVhsv(72, 55%, 55%)
CMYKcmyk(10.8%, 0%, 55.4%, 45.5%)
CIE-LABlab(55.17, -17.46, 38.79)
CIE-LCHlch(55.17, 42.54, 114.24°)
OKLaboklab(60.75% -0.05 0.091)
OKLCHoklch(60.75% 0.104 118.8)
XYZxyz(18.4145, 23.0982, 8.0448)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B3E #4D3E8B
analogous
#8B743E #7C8B3E #568B3E
triadic
#7C8B3E #3E7C8B #8B3E7C
tetradic
#7C8B3E #3E8B74 #4D3E8B #8B3E56
square
#7C8B3E #3E8B74 #4D3E8B #8B3E56
split-complementary
#7C8B3E #3E568B #743E8B
monochromatic
#303618 #56612B #7C8B3E #A0B354 #B8C57E

Accessibility & contrast

On white

3.74
#7C8B3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#7C8B3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B3E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B3E#FFFFFF#000000##000000
##7C8B3E1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938436
Deuteranopia (green-blind)
#918443
Tritanopia (blue-blind)
#82847A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8b3e;
/* rgb */ color: rgb(124, 139, 62);
/* oklch */ color: oklch(60.8% 0.104 118.8);
Tailwind
colors: {
  custom: {
    50: '#a4ac76',
    500: '#7c8b3e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b3e;
$custom-light: #a4ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b3e",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 62
  },
  "hsl": {
    "h": 71.688,
    "s": 38.308,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60752,
    "c": 0.10384,
    "h": 118.8
  },
  "luminance": 0.23098
}

Semantic roles & 50–950 ramp

primary
#7C8B3E
secondary
#8175B0
accent
#5ACE70
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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