#4F8A2E#4F8A2E

#4F8A2E is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.139 H 136.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4F8A2E
RGBrgb(79, 138, 46)
HSLhsl(98, 50%, 36%)
HSVhsv(98, 67%, 54%)
CMYKcmyk(42.8%, 0%, 66.7%, 45.9%)
CIE-LABlab(51.88, -36.25, 41.88)
CIE-LCHlch(51.88, 55.39, 130.88°)
OKLaboklab(57.29% -0.1005 0.0964)
OKLCHoklch(57.29% 0.139 136.2)
XYZxyz(12.8057, 20.0358, 5.7768)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A2E #692E8A
analogous
#7D8A2E #4F8A2E #2E8A3B
triadic
#4F8A2E #2E4F8A #8A2E4F
tetradic
#4F8A2E #2E7D8A #692E8A #8A3B2E
square
#4F8A2E #2E7D8A #692E8A #8A3B2E
split-complementary
#4F8A2E #3B2E8A #8A2E7D
monochromatic
#1A2E0F #355C1F #4F8A2E #69B83D #8BCC66

Accessibility & contrast

On white

4.19
#4F8A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4F8A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8A2E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8A2E#FFFFFF#000000##000000
##4F8A2E1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#4D8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8a2e;
/* rgb */ color: rgb(79, 138, 46);
/* oklch */ color: oklch(57.3% 0.139 136.2);
Tailwind
colors: {
  custom: {
    50: '#85ac6b',
    500: '#4f8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a2e;
$custom-light: #85ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a2e",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 98.478,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57295,
    "c": 0.13929,
    "h": 136.2
  },
  "luminance": 0.20036
}

Semantic roles & 50–950 ramp

primary
#4F8A2E
secondary
#9561B3
accent
#4EDAA8
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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