#7C8C2D#7C8C2D

#7C8C2D is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.8% C 0.120 H 118.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7C8C2D
RGBrgb(124, 140, 45)
HSLhsl(70, 51%, 36%)
HSVhsv(70, 68%, 55%)
CMYKcmyk(11.4%, 0%, 67.9%, 45.1%)
CIE-LABlab(55.31, -19.37, 46.80)
CIE-LCHlch(55.31, 50.65, 112.48°)
OKLaboklab(60.81% -0.0571 0.1058)
OKLCHoklch(60.81% 0.12 118.3)
XYZxyz(18.1643, 23.2309, 6.0092)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8C2D #3D2D8C
analogous
#8C6D2D #7C8C2D #4D8C2D
triadic
#7C8C2D #2D7C8C #8C2D7C
tetradic
#7C8C2D #2D8C6D #3D2D8C #8C2D4D
square
#7C8C2D #2D8C6D #3D2D8C #8C2D4D
split-complementary
#7C8C2D #2D4D8C #6D2D8C
monochromatic
#2A2F0F #535E1E #7C8C2D #A5BA3C #BCCE66

Accessibility & contrast

On white

3.72
#7C8C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7C8C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8C2D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8C2D#FFFFFF#000000##000000
##7C8C2D1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#958420
Deuteranopia (green-blind)
#938534
Tritanopia (blue-blind)
#838479
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7c8c2d;
/* rgb */ color: rgb(124, 140, 45);
/* oklch */ color: oklch(60.8% 0.120 118.3);
Tailwind
colors: {
  custom: {
    50: '#a4ad6b',
    500: '#7c8c2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8c2d;
$custom-light: #a4ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8c2d",
  "rgb": {
    "r": 124,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 70.105,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.12023,
    "h": 118.3
  },
  "luminance": 0.23231
}

Semantic roles & 50–950 ramp

primary
#7C8C2D
secondary
#6F60B4
accent
#4DDB65
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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