#7C8B55#7C8B55

#7C8B55 is a mid, moderate yellow-green. Relative luminance 0.234; OKLCH L 61.1% C 0.078 H 121.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7C8B55
RGBrgb(124, 139, 85)
HSLhsl(77, 24%, 44%)
HSVhsv(77, 39%, 55%)
CMYKcmyk(10.8%, 0%, 38.8%, 45.5%)
CIE-LABlab(55.49, -14.84, 27.10)
CIE-LCHlch(55.49, 30.90, 118.71°)
OKLaboklab(61.11% -0.0406 0.0666)
OKLCHoklch(61.11% 0.078 121.4)
XYZxyz(19.1844, 23.4062, 12.0997)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8B55 #64558B
analogous
#8B7F55 #7C8B55 #618B55
triadic
#7C8B55 #557C8B #8B557C
tetradic
#7C8B55 #558B7F #64558B #8B5561
square
#7C8B55 #558B7F #64558B #8B5561
split-complementary
#7C8B55 #55618B #7F558B
monochromatic
#383F27 #5A653E #7C8B55 #9BAA74 #B6C199

Accessibility & contrast

On white

3.70
#7C8B55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#7C8B55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8B55
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8B55#FFFFFF#000000##000000
##7C8B551.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918551
Deuteranopia (green-blind)
#8F8558
Tritanopia (blue-blind)
#80867E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8b55;
/* rgb */ color: rgb(124, 139, 85);
/* oklch */ color: oklch(61.1% 0.078 121.4);
Tailwind
colors: {
  custom: {
    50: '#a3ac85',
    500: '#7c8b55',
    950: '#000000',
  },
}
SCSS
$custom: #7c8b55;
$custom-light: #a3ac85;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8b55",
  "rgb": {
    "r": 124,
    "g": 139,
    "b": 85
  },
  "hsl": {
    "h": 76.667,
    "s": 24.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.61106,
    "c": 0.07803,
    "h": 121.4
  },
  "luminance": 0.23406
}

Semantic roles & 50–950 ramp

primary
#7C8B55
secondary
#978EAE
accent
#67C180
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8B55

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

Preview Lab → · Contrast checker → · Palette generator →

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