#7C8A4B#7C8A4B

#7C8A4B is a mid, moderate yellow-green. Relative luminance 0.230; OKLCH L 60.7% C 0.088 H 119.4°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7C8A4B
RGBrgb(124, 138, 75)
HSLhsl(73, 30%, 42%)
HSVhsv(73, 46%, 54%)
CMYKcmyk(10.1%, 0%, 45.7%, 45.9%)
CIE-LABlab(55.04, -15.56, 31.93)
CIE-LCHlch(55.04, 35.52, 115.98°)
OKLaboklab(60.7% -0.0434 0.077)
OKLCHoklch(60.7% 0.088 119.4)
XYZxyz(18.6707, 22.9701, 10.1053)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A4B #594B8A
analogous
#8A794B #7C8A4B #5D8A4B
triadic
#7C8A4B #4B7C8A #8A4B7C
tetradic
#7C8A4B #4B8A79 #594B8A #8A4B5D
square
#7C8A4B #4B8A79 #594B8A #8A4B5D
split-complementary
#7C8A4B #4B5D8A #794B8A
monochromatic
#353B20 #586235 #7C8A4B #9CAC66 #B6C28E

Accessibility & contrast

On white

3.75
#7C8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#7C8A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A4B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A4B#FFFFFF#000000##000000
##7C8A4B1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918446
Deuteranopia (green-blind)
#8F844E
Tritanopia (blue-blind)
#81847B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a4b;
/* rgb */ color: rgb(124, 138, 75);
/* oklch */ color: oklch(60.7% 0.088 119.4);
Tailwind
colors: {
  custom: {
    50: '#a3ac7e',
    500: '#7c8a4b',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a4b;
$custom-light: #a3ac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a4b",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 75
  },
  "hsl": {
    "h": 73.333,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.607,
    "c": 0.08843,
    "h": 119.4
  },
  "luminance": 0.2297
}

Semantic roles & 50–950 ramp

primary
#7C8A4B
secondary
#8D83AE
accent
#62C678
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #7C8A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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