#7C8E24#7C8E24

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

Color values

HEX#7C8E24
RGBrgb(124, 142, 36)
HSLhsl(70, 60%, 35%)
HSVhsv(70, 75%, 56%)
CMYKcmyk(12.7%, 0%, 74.6%, 44.3%)
CIE-LABlab(55.85, -20.94, 50.89)
CIE-LCHlch(55.85, 55.03, 112.36°)
OKLaboklab(61.22% -0.0623 0.1129)
OKLCHoklch(61.22% 0.129 118.9)
XYZxyz(18.3040, 23.7586, 5.2903)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8E24 #36248E
analogous
#8E6B24 #7C8E24 #478E24
triadic
#7C8E24 #247C8E #8E247C
tetradic
#7C8E24 #248E6B #36248E #8E2447
square
#7C8E24 #248E6B #36248E #8E2447
split-complementary
#7C8E24 #24478E #6B248E
monochromatic
#272C0B #515D18 #7C8E24 #A7BF30 #BFD558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8E24#FFFFFF#000000##000000
##7C8E241.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)
#98860F
Deuteranopia (green-blind)
#96862D
Tritanopia (blue-blind)
#84867A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7c8e24;
/* rgb */ color: rgb(124, 142, 36);
/* oklch */ color: oklch(61.2% 0.129 118.9);
Tailwind
colors: {
  custom: {
    50: '#a5af67',
    500: '#7c8e24',
    950: '#000000',
  },
}
SCSS
$custom: #7c8e24;
$custom-light: #a5af67;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8e24",
  "rgb": {
    "r": 124,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 70.189,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6122,
    "c": 0.12898,
    "h": 118.9
  },
  "luminance": 0.23758
}

Semantic roles & 50–950 ramp

primary
#7C8E24
secondary
#6655B9
accent
#45E360
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8E24

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

Preview Lab → · Contrast checker → · Palette generator →

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