#7C8A57#7C8A57

#7C8A57 is a mid, moderate yellow-green. Relative luminance 0.232; OKLCH L 60.9% C 0.074 H 121.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7C8A57
RGBrgb(124, 138, 87)
HSLhsl(76, 23%, 44%)
HSVhsv(76, 37%, 54%)
CMYKcmyk(10.1%, 0%, 37%, 45.9%)
CIE-LABlab(55.23, -14.04, 25.66)
CIE-LCHlch(55.23, 29.25, 118.68°)
OKLaboklab(60.91% -0.0383 0.0634)
OKLCHoklch(60.91% 0.074 121.1)
XYZxyz(19.1209, 23.1502, 12.4761)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A57 #65578A
analogous
#8A7F57 #7C8A57 #638A57
triadic
#7C8A57 #577C8A #8A577C
tetradic
#7C8A57 #578A7F #65578A #8A5763
square
#7C8A57 #578A7F #65578A #8A5763
split-complementary
#7C8A57 #57638A #7F578A
monochromatic
#393F28 #5A643F #7C8A57 #9BA876 #B6C09B

Accessibility & contrast

On white

3.73
#7C8A57 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#7C8A57 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A57
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A57#FFFFFF#000000##000000
##7C8A571.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908453
Deuteranopia (green-blind)
#8E8459
Tritanopia (blue-blind)
#80857D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a57;
/* rgb */ color: rgb(124, 138, 87);
/* oklch */ color: oklch(60.9% 0.074 121.1);
Tailwind
colors: {
  custom: {
    50: '#a2ac87',
    500: '#7c8a57',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a57;
$custom-light: #a2ac87;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a57",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 87
  },
  "hsl": {
    "h": 76.471,
    "s": 22.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.07403,
    "h": 121.1
  },
  "luminance": 0.2315
}

Semantic roles & 50–950 ramp

primary
#7C8A57
secondary
#978FAE
accent
#69BF80
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8A57

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

Preview Lab → · Contrast checker → · Palette generator →

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