#7C8F24#7C8F24

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

Color values

HEX#7C8F24
RGBrgb(124, 143, 36)
HSLhsl(71, 60%, 35%)
HSVhsv(71, 75%, 56%)
CMYKcmyk(13.3%, 0%, 74.8%, 43.9%)
CIE-LABlab(56.15, -21.45, 51.18)
CIE-LCHlch(56.15, 55.49, 112.74°)
OKLaboklab(61.46% -0.0637 0.1135)
OKLCHoklch(61.46% 0.13 119.3)
XYZxyz(18.4534, 24.0575, 5.3401)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8F24 #37248F
analogous
#8F6C24 #7C8F24 #478F24
triadic
#7C8F24 #247C8F #8F247C
tetradic
#7C8F24 #248F6C #37248F #8F2447
square
#7C8F24 #248F6C #37248F #8F2447
split-complementary
#7C8F24 #24478F #6C248F
monochromatic
#272D0B #525E18 #7C8F24 #A6C030 #BFD558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8F24#FFFFFF#000000##000000
##7C8F241.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)
#98870E
Deuteranopia (green-blind)
#96872D
Tritanopia (blue-blind)
#83877A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c8f24;
/* rgb */ color: rgb(124, 143, 36);
/* oklch */ color: oklch(61.5% 0.130 119.3);
Tailwind
colors: {
  custom: {
    50: '#a5af67',
    500: '#7c8f24',
    950: '#000000',
  },
}
SCSS
$custom: #7c8f24;
$custom-light: #a5af67;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8f24",
  "rgb": {
    "r": 124,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 70.654,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61461,
    "c": 0.13019,
    "h": 119.3
  },
  "luminance": 0.24057
}

Semantic roles & 50–950 ramp

primary
#7C8F24
secondary
#6755B9
accent
#45E361
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7C8F24

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

Preview Lab → · Contrast checker → · Palette generator →

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