#7C8A36#7C8A36

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

Color values

HEX#7C8A36
RGBrgb(124, 138, 54)
HSLhsl(70, 44%, 38%)
HSVhsv(70, 61%, 54%)
CMYKcmyk(10.1%, 0%, 60.9%, 45.9%)
CIE-LABlab(54.79, -17.65, 42.22)
CIE-LCHlch(54.79, 45.76, 112.69°)
OKLaboklab(60.42% -0.0513 0.0974)
OKLCHoklch(60.42% 0.11 117.8)
XYZxyz(18.0668, 22.7285, 6.9246)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8A36 #44368A
analogous
#8A6E36 #7C8A36 #528A36
triadic
#7C8A36 #367C8A #8A367C
tetradic
#7C8A36 #368A6E #44368A #8A3652
square
#7C8A36 #368A6E #44368A #8A3652
split-complementary
#7C8A36 #36528A #6E368A
monochromatic
#2D3214 #545E25 #7C8A36 #A4B647 #BAC872

Accessibility & contrast

On white

3.79
#7C8A36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8A36#FFFFFF#000000##000000
##7C8A361.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8a36;
/* rgb */ color: rgb(124, 138, 54);
/* oklch */ color: oklch(60.4% 0.110 117.8);
Tailwind
colors: {
  custom: {
    50: '#a4ac71',
    500: '#7c8a36',
    950: '#000000',
  },
}
SCSS
$custom: #7c8a36;
$custom-light: #a4ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8a36",
  "rgb": {
    "r": 124,
    "g": 138,
    "b": 54
  },
  "hsl": {
    "h": 70,
    "s": 43.75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.60418,
    "c": 0.11014,
    "h": 117.8
  },
  "luminance": 0.22728
}

Semantic roles & 50–950 ramp

primary
#7C8A36
secondary
#776BB1
accent
#54D36A
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1008
muted
#7F7F7B

Preview Lab

Preview with #7C8A36

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

Preview Lab → · Contrast checker → · Palette generator →

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