#4F8E27#4F8E27

#4F8E27 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.150 H 135.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4F8E27
RGBrgb(79, 142, 39)
HSLhsl(97, 57%, 35%)
HSVhsv(97, 73%, 56%)
CMYKcmyk(44.4%, 0%, 72.5%, 44.3%)
CIE-LABlab(53.12, -38.58, 46.13)
CIE-LCHlch(53.12, 60.13, 129.91°)
OKLaboklab(58.29% -0.1074 0.1044)
OKLCHoklch(58.29% 0.15 135.8)
XYZxyz(13.2633, 21.1540, 5.3033)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8E27 #66278E
analogous
#828E27 #4F8E27 #278E32
triadic
#4F8E27 #274F8E #8E274F
tetradic
#4F8E27 #27828E #66278E #8E3227
square
#4F8E27 #27828E #66278E #8E3227
split-complementary
#4F8E27 #32278E #8E2782
monochromatic
#1A2E0D #345E1A #4F8E27 #6ABE34 #8BD25D

Accessibility & contrast

On white

4.01
#4F8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4F8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8E27
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8E27#FFFFFF#000000##000000
##4F8E271.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938216
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#4D897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8e27;
/* rgb */ color: rgb(79, 142, 39);
/* oklch */ color: oklch(58.3% 0.150 135.8);
Tailwind
colors: {
  custom: {
    50: '#86af68',
    500: '#4f8e27',
    950: '#000000',
  },
}
SCSS
$custom: #4f8e27;
$custom-light: #86af68;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8e27",
  "rgb": {
    "r": 79,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 96.699,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.14976,
    "h": 135.8
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#4F8E27
secondary
#9359B8
accent
#48E0A5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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