#4F8A27#4F8A27

#4F8A27 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.144 H 135.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4F8A27
RGBrgb(79, 138, 39)
HSLhsl(96, 56%, 35%)
HSVhsv(96, 72%, 54%)
CMYKcmyk(42.8%, 0%, 71.7%, 45.9%)
CIE-LABlab(51.82, -36.85, 44.80)
CIE-LCHlch(51.82, 58.01, 129.44°)
OKLaboklab(57.23% -0.1027 0.1016)
OKLCHoklch(57.23% 0.144 135.3)
XYZxyz(12.6788, 19.9850, 5.1085)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A27 #62278A
analogous
#808A27 #4F8A27 #278A31
triadic
#4F8A27 #274F8A #8A274F
tetradic
#4F8A27 #27808A #62278A #8A3127
square
#4F8A27 #27808A #62278A #8A3127
split-complementary
#4F8A27 #31278A #8A2780
monochromatic
#182B0C #345A1A #4F8A27 #6ABA34 #8AD15B

Accessibility & contrast

On white

4.20
#4F8A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4F8A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A27
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A27#FFFFFF#000000##000000
##4F8A271.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F17
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#4D8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8a27;
/* rgb */ color: rgb(79, 138, 39);
/* oklch */ color: oklch(57.2% 0.144 135.3);
Tailwind
colors: {
  custom: {
    50: '#85ac67',
    500: '#4f8a27',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a27;
$custom-light: #85ac67;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a27",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 95.758,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57229,
    "c": 0.14447,
    "h": 135.3
  },
  "luminance": 0.19986
}

Semantic roles & 50–950 ramp

primary
#4F8A27
secondary
#8F57B6
accent
#49DFA2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4F8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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