#7C8D3B#7C8D3B

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

Color values

HEX#7C8D3B
RGBrgb(124, 141, 59)
HSLhsl(72, 41%, 39%)
HSVhsv(72, 58%, 55%)
CMYKcmyk(12.1%, 0%, 58.2%, 44.7%)
CIE-LABlab(55.74, -18.78, 40.90)
CIE-LCHlch(55.74, 45.01, 114.66°)
OKLaboklab(61.19% -0.054 0.0952)
OKLCHoklch(61.19% 0.109 119.6)
XYZxyz(18.6267, 23.6507, 7.7206)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D3B #4C3B8D
analogous
#8D753B #7C8D3B #538D3B
triadic
#7C8D3B #3B7C8D #8D3B7C
tetradic
#7C8D3B #3B8D75 #4C3B8D #8D3B53
square
#7C8D3B #3B8D75 #4C3B8D #8D3B53
split-complementary
#7C8D3B #3B538D #753B8D
monochromatic
#303717 #566229 #7C8D3B #A0B650 #B8C87B

Accessibility & contrast

On white

3.66
#7C8D3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8D3B#FFFFFF#000000##000000
##7C8D3B1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958632
Deuteranopia (green-blind)
#938640
Tritanopia (blue-blind)
#82867B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8d3b;
/* rgb */ color: rgb(124, 141, 59);
/* oklch */ color: oklch(61.2% 0.109 119.6);
Tailwind
colors: {
  custom: {
    50: '#a4ae74',
    500: '#7c8d3b',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d3b;
$custom-light: #a4ae74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d3b",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 59
  },
  "hsl": {
    "h": 72.439,
    "s": 41,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61193,
    "c": 0.10947,
    "h": 119.6
  },
  "luminance": 0.23651
}

Semantic roles & 50–950 ramp

primary
#7C8D3B
secondary
#8073B1
accent
#57D170
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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