#7C8A54#7C8A54

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

Color values

HEX#7C8A54
RGBrgb(124, 138, 84)
HSLhsl(76, 24%, 44%)
HSVhsv(76, 39%, 54%)
CMYKcmyk(10.1%, 0%, 39.1%, 45.9%)
CIE-LABlab(55.18, -14.44, 27.25)
CIE-LCHlch(55.18, 30.84, 117.92°)
OKLaboklab(60.85% -0.0396 0.0669)
OKLCHoklch(60.85% 0.078 120.6)
XYZxyz(19.0009, 23.1022, 11.8440)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A54 #62548A
analogous
#8A7D54 #7C8A54 #618A54
triadic
#7C8A54 #547C8A #8A547C
tetradic
#7C8A54 #548A7D #62548A #8A5461
square
#7C8A54 #548A7D #62548A #8A5461
split-complementary
#7C8A54 #54618A #7D548A
monochromatic
#383E26 #5A643D #7C8A54 #9BA972 #B6C098

Accessibility & contrast

On white

3.74
#7C8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A54#FFFFFF#000000##000000
##7C8A541.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908450
Deuteranopia (green-blind)
#8E8457
Tritanopia (blue-blind)
#81857D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8a54;
/* rgb */ color: rgb(124, 138, 84);
/* oklch */ color: oklch(60.9% 0.078 120.6);
Tailwind
colors: {
  custom: {
    50: '#a3ac85',
    500: '#7c8a54',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a54;
$custom-light: #a3ac85;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a54",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 75.556,
    "s": 24.324,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60852,
    "c": 0.07774,
    "h": 120.6
  },
  "luminance": 0.23102
}

Semantic roles & 50–950 ramp

primary
#7C8A54
secondary
#958CAE
accent
#67C17E
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7C8A54

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

Preview Lab → · Contrast checker → · Palette generator →

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