#7C8D2D#7C8D2D

#7C8D2D is a mid, vivid yellow-green. Relative luminance 0.235; OKLCH L 61.0% C 0.121 H 118.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7C8D2D
RGBrgb(124, 141, 45)
HSLhsl(71, 52%, 36%)
HSVhsv(71, 68%, 55%)
CMYKcmyk(12.1%, 0%, 68.1%, 44.7%)
CIE-LABlab(55.61, -19.88, 47.11)
CIE-LCHlch(55.61, 51.13, 112.88°)
OKLaboklab(61.05% -0.0585 0.1065)
OKLCHoklch(61.05% 0.121 118.8)
XYZxyz(18.3110, 23.5244, 6.0581)
Luminance0.2352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8D2D #3E2D8D
analogous
#8D6E2D #7C8D2D #4C8D2D
triadic
#7C8D2D #2D7C8D #8D2D7C
tetradic
#7C8D2D #2D8D6E #3E2D8D #8D2D4C
square
#7C8D2D #2D8D6E #3E2D8D #8D2D4C
split-complementary
#7C8D2D #2D4C8D #6E2D8D
monochromatic
#2A300F #535F1E #7C8D2D #A5BB3C #BCCE66

Accessibility & contrast

On white

3.68
#7C8D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#7C8D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8D2D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8D2D#FFFFFF#000000##000000
##7C8D2D1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851F
Deuteranopia (green-blind)
#948634
Tritanopia (blue-blind)
#83857A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #7c8d2d;
/* rgb */ color: rgb(124, 141, 45);
/* oklch */ color: oklch(61.0% 0.121 118.8);
Tailwind
colors: {
  custom: {
    50: '#a4ae6c',
    500: '#7c8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8d2d;
$custom-light: #a4ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8d2d",
  "rgb": {
    "r": 124,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 70.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61049,
    "c": 0.12149,
    "h": 118.8
  },
  "luminance": 0.23524
}

Semantic roles & 50–950 ramp

primary
#7C8D2D
secondary
#7061B5
accent
#4DDB66
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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