#7C8E27#7C8E27

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

Color values

HEX#7C8E27
RGBrgb(124, 142, 39)
HSLhsl(70, 57%, 35%)
HSVhsv(70, 73%, 56%)
CMYKcmyk(12.7%, 0%, 72.5%, 44.3%)
CIE-LABlab(55.86, -20.77, 49.79)
CIE-LCHlch(55.86, 53.94, 112.65°)
OKLaboklab(61.24% -0.0616 0.1111)
OKLCHoklch(61.24% 0.127 119)
XYZxyz(18.3518, 23.7777, 5.5418)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E27 #39278E
analogous
#8E6C27 #7C8E27 #498E27
triadic
#7C8E27 #277C8E #8E277C
tetradic
#7C8E27 #278E6C #39278E #8E2749
square
#7C8E27 #278E6C #39278E #8E2749
split-complementary
#7C8E27 #27498E #6C278E
monochromatic
#282E0D #525E1A #7C8E27 #A6BE34 #BED25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8E27#FFFFFF#000000##000000
##7C8E271.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c8e27;
/* rgb */ color: rgb(124, 142, 39);
/* oklch */ color: oklch(61.2% 0.127 119.0);
Tailwind
colors: {
  custom: {
    50: '#a5af68',
    500: '#7c8e27',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e27;
$custom-light: #a5af68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e27",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 70.485,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61241,
    "c": 0.12703,
    "h": 119
  },
  "luminance": 0.23778
}

Semantic roles & 50–950 ramp

primary
#7C8E27
secondary
#6A59B8
accent
#48E062
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7C8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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