#7C8F1E#7C8F1E

#7C8F1E is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.4% C 0.134 H 119.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7C8F1E
RGBrgb(124, 143, 30)
HSLhsl(70, 65%, 34%)
HSVhsv(70, 79%, 56%)
CMYKcmyk(13.3%, 0%, 79%, 43.9%)
CIE-LABlab(56.11, -21.74, 53.20)
CIE-LCHlch(56.11, 57.48, 112.23°)
OKLaboklab(61.42% -0.065 0.1167)
OKLCHoklch(61.42% 0.134 119.1)
XYZxyz(18.3694, 24.0239, 4.8974)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F1E #311E8F
analogous
#8F6A1E #7C8F1E #448F1E
triadic
#7C8F1E #1E7C8F #8F1E7C
tetradic
#7C8F1E #1E8F6A #311E8F #8F1E44
square
#7C8F1E #1E8F6A #311E8F #8F1E44
split-complementary
#7C8F1E #1E448F #6A1E8F
monochromatic
#242A09 #505C13 #7C8F1E #A8C229 #C2DA4E

Accessibility & contrast

On white

3.62
#7C8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#7C8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F1E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F1E#FFFFFF#000000##000000
##7C8F1E1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#84877A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8f1e;
/* rgb */ color: rgb(124, 143, 30);
/* oklch */ color: oklch(61.4% 0.134 119.1);
Tailwind
colors: {
  custom: {
    50: '#a5af64',
    500: '#7c8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f1e;
$custom-light: #a5af64;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f1e",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 70.088,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.13363,
    "h": 119.1
  },
  "luminance": 0.24024
}

Semantic roles & 50–950 ramp

primary
#7C8F1E
secondary
#5F4CBC
accent
#40E85C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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