#7C8E26#7C8E26

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

Color values

HEX#7C8E26
RGBrgb(124, 142, 38)
HSLhsl(70, 58%, 35%)
HSVhsv(70, 73%, 56%)
CMYKcmyk(12.7%, 0%, 73.2%, 44.3%)
CIE-LABlab(55.86, -20.83, 50.16)
CIE-LCHlch(55.86, 54.31, 112.55°)
OKLaboklab(61.23% -0.0618 0.1117)
OKLCHoklch(61.23% 0.128 119)
XYZxyz(18.3354, 23.7712, 5.4557)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E26 #38268E
analogous
#8E6C26 #7C8E26 #488E26
triadic
#7C8E26 #267C8E #8E267C
tetradic
#7C8E26 #268E6C #38268E #8E2648
square
#7C8E26 #268E6C #38268E #8E2648
split-complementary
#7C8E26 #26488E #6C268E
monochromatic
#282D0C #525E19 #7C8E26 #A6BE33 #BED35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8E26#FFFFFF#000000##000000
##7C8E261.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)
#978613
Deuteranopia (green-blind)
#95862F
Tritanopia (blue-blind)
#83867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e26;
/* rgb */ color: rgb(124, 142, 38);
/* oklch */ color: oklch(61.2% 0.128 119.0);
Tailwind
colors: {
  custom: {
    50: '#a5af68',
    500: '#7c8e26',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e26;
$custom-light: #a5af68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e26",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 38
  },
  "hsl": {
    "h": 70.385,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61234,
    "c": 0.1277,
    "h": 119
  },
  "luminance": 0.23771
}

Semantic roles & 50–950 ramp

primary
#7C8E26
secondary
#6858B8
accent
#47E161
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8E26

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

Preview Lab → · Contrast checker → · Palette generator →

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