#7C8A38#7C8A38

#7C8A38 is a mid, moderate yellow-green. Relative luminance 0.227; OKLCH L 60.4% C 0.108 H 117.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7C8A38
RGBrgb(124, 138, 56)
HSLhsl(70, 42%, 38%)
HSVhsv(70, 59%, 54%)
CMYKcmyk(10.1%, 0%, 59.4%, 45.9%)
CIE-LABlab(54.81, -17.48, 41.30)
CIE-LCHlch(54.81, 44.85, 112.94°)
OKLaboklab(60.44% -0.0507 0.0957)
OKLCHoklch(60.44% 0.108 117.9)
XYZxyz(18.1148, 22.7477, 7.1771)
Luminance0.2275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A38 #46388A
analogous
#8A6F38 #7C8A38 #538A38
triadic
#7C8A38 #387C8A #8A387C
tetradic
#7C8A38 #388A6F #46388A #8A3853
square
#7C8A38 #388A6F #46388A #8A3853
split-complementary
#7C8A38 #38538A #6F388A
monochromatic
#2E3315 #555E26 #7C8A38 #A3B54A #B9C775

Accessibility & contrast

On white

3.78
#7C8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7C8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8A38
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8A38#FFFFFF#000000##000000
##7C8A381.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#93832F
Deuteranopia (green-blind)
#91843D
Tritanopia (blue-blind)
#838378
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7c8a38;
/* rgb */ color: rgb(124, 138, 56);
/* oklch */ color: oklch(60.4% 0.108 117.9);
Tailwind
colors: {
  custom: {
    50: '#a4ac72',
    500: '#7c8a38',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a38;
$custom-light: #a4ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a38",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 70.244,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60441,
    "c": 0.1083,
    "h": 117.9
  },
  "luminance": 0.22748
}

Semantic roles & 50–950 ramp

primary
#7C8A38
secondary
#796EB0
accent
#56D26B
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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