#7C8E22#7C8E22

#7C8E22 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 61.2% C 0.130 H 118.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7C8E22
RGBrgb(124, 142, 34)
HSLhsl(70, 61%, 35%)
HSVhsv(70, 76%, 56%)
CMYKcmyk(12.7%, 0%, 76.1%, 44.3%)
CIE-LABlab(55.83, -21.04, 51.60)
CIE-LCHlch(55.83, 55.72, 112.19°)
OKLaboklab(61.21% -0.0628 0.1141)
OKLCHoklch(61.21% 0.13 118.8)
XYZxyz(18.2743, 23.7467, 5.1339)
Luminance0.2375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E22 #34228E
analogous
#8E6A22 #7C8E22 #468E22
triadic
#7C8E22 #227C8E #8E227C
tetradic
#7C8E22 #228E6A #34228E #8E2246
square
#7C8E22 #228E6A #34228E #8E2246
split-complementary
#7C8E22 #22468E #6A228E
monochromatic
#262B0A #515D16 #7C8E22 #A7BF2E #C0D654

Accessibility & contrast

On white

3.65
#7C8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#7C8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8E22
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8E22#FFFFFF#000000##000000
##7C8E221.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#96862C
Tritanopia (blue-blind)
#848679
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e22;
/* rgb */ color: rgb(124, 142, 34);
/* oklch */ color: oklch(61.2% 0.130 118.8);
Tailwind
colors: {
  custom: {
    50: '#a5af66',
    500: '#7c8e22',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e22;
$custom-light: #a5af66;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e22",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 70,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61206,
    "c": 0.13019,
    "h": 118.8
  },
  "luminance": 0.23747
}

Semantic roles & 50–950 ramp

primary
#7C8E22
secondary
#6352BA
accent
#43E45E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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