#7C8E25#7C8E25

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

Color values

HEX#7C8E25
RGBrgb(124, 142, 37)
HSLhsl(70, 59%, 35%)
HSVhsv(70, 74%, 56%)
CMYKcmyk(12.7%, 0%, 73.9%, 44.3%)
CIE-LABlab(55.85, -20.88, 50.53)
CIE-LCHlch(55.85, 54.67, 112.46°)
OKLaboklab(61.23% -0.0621 0.1123)
OKLCHoklch(61.23% 0.128 118.9)
XYZxyz(18.3195, 23.7648, 5.3719)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E25 #37258E
analogous
#8E6C25 #7C8E25 #478E25
triadic
#7C8E25 #257C8E #8E257C
tetradic
#7C8E25 #258E6C #37258E #8E2547
square
#7C8E25 #258E6C #37258E #8E2547
split-complementary
#7C8E25 #25478E #6C258E
monochromatic
#272D0C #525D18 #7C8E25 #A6BF32 #BFD45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8E25#FFFFFF#000000##000000
##7C8E251.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)
#978611
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#84867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e25;
/* rgb */ color: rgb(124, 142, 37);
/* oklch */ color: oklch(61.2% 0.128 118.9);
Tailwind
colors: {
  custom: {
    50: '#a5af67',
    500: '#7c8e25',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e25;
$custom-light: #a5af67;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e25",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 37
  },
  "hsl": {
    "h": 70.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61227,
    "c": 0.12834,
    "h": 118.9
  },
  "luminance": 0.23765
}

Semantic roles & 50–950 ramp

primary
#7C8E25
secondary
#6756B9
accent
#46E261
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8E25

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

Preview Lab → · Contrast checker → · Palette generator →

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