#7C8E2D#7C8E2D

#7C8E2D is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 61.3% C 0.123 H 119.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7C8E2D
RGBrgb(124, 142, 45)
HSLhsl(71, 52%, 37%)
HSVhsv(71, 68%, 56%)
CMYKcmyk(12.7%, 0%, 68.3%, 44.3%)
CIE-LABlab(55.91, -20.39, 47.42)
CIE-LCHlch(55.91, 51.62, 113.27°)
OKLaboklab(61.29% -0.0599 0.1071)
OKLCHoklch(61.29% 0.123 119.2)
XYZxyz(18.4592, 23.8207, 6.1075)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E2D #3F2D8E
analogous
#8E702D #7C8E2D #4C8E2D
triadic
#7C8E2D #2D7C8E #8E2D7C
tetradic
#7C8E2D #2D8E70 #3F2D8E #8E2D4C
square
#7C8E2D #2D8E70 #3F2D8E #8E2D4C
split-complementary
#7C8E2D #2D4C8E #702D8E
monochromatic
#2B3110 #53601E #7C8E2D #A5BC3C #BBCF67

Accessibility & contrast

On white

3.64
#7C8E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#7C8E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E2D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E2D#FFFFFF#000000##000000
##7C8E2D1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861F
Deuteranopia (green-blind)
#958634
Tritanopia (blue-blind)
#83867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e2d;
/* rgb */ color: rgb(124, 142, 45);
/* oklch */ color: oklch(61.3% 0.123 119.2);
Tailwind
colors: {
  custom: {
    50: '#a5af6c',
    500: '#7c8e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e2d;
$custom-light: #a5af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e2d",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 71.134,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6129,
    "c": 0.12275,
    "h": 119.2
  },
  "luminance": 0.23821
}

Semantic roles & 50–950 ramp

primary
#7C8E2D
secondary
#7161B5
accent
#4CDB67
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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