#7C8A43#7C8A43

#7C8A43 is a mid, moderate yellow-green. Relative luminance 0.229; OKLCH L 60.6% C 0.097 H 118.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7C8A43
RGBrgb(124, 138, 67)
HSLhsl(72, 35%, 40%)
HSVhsv(72, 51%, 54%)
CMYKcmyk(10.1%, 0%, 51.4%, 45.9%)
CIE-LABlab(54.94, -16.44, 35.99)
CIE-LCHlch(54.94, 39.56, 114.55°)
OKLaboklab(60.58% -0.0466 0.0854)
OKLCHoklch(60.58% 0.097 118.6)
XYZxyz(18.4140, 22.8674, 8.7529)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A43 #51438A
analogous
#8A7443 #7C8A43 #588A43
triadic
#7C8A43 #437C8A #8A437C
tetradic
#7C8A43 #438A74 #51438A #8A4358
square
#7C8A43 #438A74 #51438A #8A4358
split-complementary
#7C8A43 #43588A #74438A
monochromatic
#32381B #57612F #7C8A43 #9FAF5B #B7C384

Accessibility & contrast

On white

3.77
#7C8A43 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#7C8A43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A43
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A43#FFFFFF#000000##000000
##7C8A431.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92833D
Deuteranopia (green-blind)
#908447
Tritanopia (blue-blind)
#82847A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a43;
/* rgb */ color: rgb(124, 138, 67);
/* oklch */ color: oklch(60.6% 0.097 118.6);
Tailwind
colors: {
  custom: {
    50: '#a3ac79',
    500: '#7c8a43',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a43;
$custom-light: #a3ac79;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a43",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 67
  },
  "hsl": {
    "h": 71.831,
    "s": 34.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6058,
    "c": 0.09729,
    "h": 118.6
  },
  "luminance": 0.22867
}

Semantic roles & 50–950 ramp

primary
#7C8A43
secondary
#857BAE
accent
#5DCB73
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1009
muted
#7F7F7B

Preview Lab

Preview with #7C8A43

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

Preview Lab → · Contrast checker → · Palette generator →

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