#7C8F26#7C8F26

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

Color values

HEX#7C8F26
RGBrgb(124, 143, 38)
HSLhsl(71, 58%, 35%)
HSVhsv(71, 73%, 56%)
CMYKcmyk(13.3%, 0%, 73.4%, 43.9%)
CIE-LABlab(56.16, -21.34, 50.45)
CIE-LCHlch(56.16, 54.78, 112.92°)
OKLaboklab(61.48% -0.0632 0.1123)
OKLCHoklch(61.48% 0.129 119.4)
XYZxyz(18.4849, 24.0701, 5.5055)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F26 #39268F
analogous
#8F6D26 #7C8F26 #478F26
triadic
#7C8F26 #267C8F #8F267C
tetradic
#7C8F26 #268F6D #39268F #8F2647
square
#7C8F26 #268F6D #39268F #8F2647
split-complementary
#7C8F26 #26478F #6D268F
monochromatic
#282E0C #525F19 #7C8F26 #A6BF33 #BED45C

Accessibility & contrast

On white

3.61
#7C8F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#7C8F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8F26
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8F26#FFFFFF#000000##000000
##7C8F261.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988713
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#83877B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f26;
/* rgb */ color: rgb(124, 143, 38);
/* oklch */ color: oklch(61.5% 0.129 119.4);
Tailwind
colors: {
  custom: {
    50: '#a5af68',
    500: '#7c8f26',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f26;
$custom-light: #a5af68;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f26",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 38
  },
  "hsl": {
    "h": 70.857,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.12892,
    "h": 119.4
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#7C8F26
secondary
#6A58B9
accent
#47E163
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8F26

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

Preview Lab → · Contrast checker → · Palette generator →

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