#4F8F18#4F8F18

#4F8F18 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.159 H 134.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4F8F18
RGBrgb(79, 143, 24)
HSLhsl(92, 71%, 33%)
HSVhsv(92, 83%, 56%)
CMYKcmyk(44.8%, 0%, 83.2%, 43.9%)
CIE-LABlab(53.35, -39.94, 51.51)
CIE-LCHlch(53.35, 65.18, 127.79°)
OKLaboklab(58.46% -0.112 0.1134)
OKLCHoklch(58.46% 0.159 134.7)
XYZxyz(13.2115, 21.3724, 4.2931)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8F18 #58188F
analogous
#8A8F18 #4F8F18 #188F1D
triadic
#4F8F18 #184F8F #8F184F
tetradic
#4F8F18 #188A8F #58188F #8F1D18
square
#4F8F18 #188A8F #58188F #8F1D18
split-complementary
#4F8F18 #1D188F #8F188A
monochromatic
#152606 #325B0F #4F8F18 #6CC321 #8BDF42

Accessibility & contrast

On white

3.98
#4F8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4F8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8F18
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8F18#FFFFFF#000000##000000
##4F8F181.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E26
Tritanopia (blue-blind)
#4E897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8f18;
/* rgb */ color: rgb(79, 143, 24);
/* oklch */ color: oklch(58.5% 0.159 134.7);
Tailwind
colors: {
  custom: {
    50: '#87b061',
    500: '#4f8f18',
    950: '#000000',
  },
}
SCSS
$custom: #4f8f18;
$custom-light: #87b061;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8f18",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 92.269,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.15939,
    "h": 134.7
  },
  "luminance": 0.21373
}

Semantic roles & 50–950 ramp

primary
#4F8F18
secondary
#8643C0
accent
#3AEE9B
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8F18

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

Preview Lab → · Contrast checker → · Palette generator →

#4F8F18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva