#7C8F2E#7C8F2E

#7C8F2E is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.5% C 0.123 H 119.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7C8F2E
RGBrgb(124, 143, 46)
HSLhsl(72, 51%, 37%)
HSVhsv(72, 68%, 56%)
CMYKcmyk(13.3%, 0%, 67.8%, 43.9%)
CIE-LABlab(56.22, -20.84, 47.32)
CIE-LCHlch(56.22, 51.70, 113.77°)
OKLaboklab(61.54% -0.0611 0.1071)
OKLCHoklch(61.54% 0.123 119.7)
XYZxyz(18.6281, 24.1274, 6.2599)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F2E #412E8F
analogous
#8F722E #7C8F2E #4B8F2E
triadic
#7C8F2E #2E7C8F #8F2E7C
tetradic
#7C8F2E #2E8F72 #412E8F #8F2E4B
square
#7C8F2E #2E8F72 #412E8F #8F2E4B
split-complementary
#7C8F2E #2E4B8F #722E8F
monochromatic
#2C3210 #54611F #7C8F2E #A4BD3D #BBCF69

Accessibility & contrast

On white

3.60
#7C8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#7C8F2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F2E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F2E#FFFFFF#000000##000000
##7C8F2E1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988720
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#83877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f2e;
/* rgb */ color: rgb(124, 143, 46);
/* oklch */ color: oklch(61.5% 0.123 119.7);
Tailwind
colors: {
  custom: {
    50: '#a4af6c',
    500: '#7c8f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f2e;
$custom-light: #a4af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f2e",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 71.753,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.12327,
    "h": 119.7
  },
  "luminance": 0.24127
}

Semantic roles & 50–950 ramp

primary
#7C8F2E
secondary
#7363B6
accent
#4DDB69
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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