#7C8A55#7C8A55

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

Color values

HEX#7C8A55
RGBrgb(124, 138, 85)
HSLhsl(76, 24%, 44%)
HSVhsv(76, 38%, 54%)
CMYKcmyk(10.1%, 0%, 38.4%, 45.9%)
CIE-LABlab(55.19, -14.31, 26.72)
CIE-LCHlch(55.19, 30.31, 118.17°)
OKLaboklab(60.87% -0.0391 0.0657)
OKLCHoklch(60.87% 0.077 120.8)
XYZxyz(19.0403, 23.1179, 12.0517)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A55 #63558A
analogous
#8A7D55 #7C8A55 #618A55
triadic
#7C8A55 #557C8A #8A557C
tetradic
#7C8A55 #558A7D #63558A #8A5561
square
#7C8A55 #558A7D #63558A #8A5561
split-complementary
#7C8A55 #55618A #7D558A
monochromatic
#383E26 #5A643E #7C8A55 #9BA973 #B6C099

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A55#FFFFFF#000000##000000
##7C8A551.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8a55;
/* rgb */ color: rgb(124, 138, 85);
/* oklch */ color: oklch(60.9% 0.076 120.8);
Tailwind
colors: {
  custom: {
    50: '#a2ac85',
    500: '#7c8a55',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a55;
$custom-light: #a2ac85;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a55",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 85
  },
  "hsl": {
    "h": 75.849,
    "s": 23.767,
    "l": 43.725
  },
  "oklch": {
    "l": 0.60871,
    "c": 0.0765,
    "h": 120.8
  },
  "luminance": 0.23118
}

Semantic roles & 50–950 ramp

primary
#7C8A55
secondary
#968DAE
accent
#68C07F
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8A55

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

Preview Lab → · Contrast checker → · Palette generator →

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