#4F8B22#4F8B22

#4F8B22 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.149 H 134.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4F8B22
RGBrgb(79, 139, 34)
HSLhsl(94, 61%, 34%)
HSVhsv(94, 76%, 55%)
CMYKcmyk(43.2%, 0%, 75.5%, 45.5%)
CIE-LABlab(52.11, -37.65, 47.03)
CIE-LCHlch(52.11, 60.25, 128.68°)
OKLaboklab(57.46% -0.1052 0.1055)
OKLCHoklch(57.46% 0.149 134.9)
XYZxyz(12.7455, 20.2423, 4.7486)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8B22 #5E228B
analogous
#848B22 #4F8B22 #228B2A
triadic
#4F8B22 #224F8B #8B224F
tetradic
#4F8B22 #22848B #5E228B #8B2A22
square
#4F8B22 #22848B #5E228B #8B2A22
split-complementary
#4F8B22 #2A228B #8B2284
monochromatic
#17290A #335A16 #4F8B22 #6BBC2E #8AD553

Accessibility & contrast

On white

4.16
#4F8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4F8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8B22
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8B22#FFFFFF#000000##000000
##4F8B221.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#887A2C
Tritanopia (blue-blind)
#4E8677
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8b22;
/* rgb */ color: rgb(79, 139, 34);
/* oklch */ color: oklch(57.5% 0.149 134.9);
Tailwind
colors: {
  custom: {
    50: '#86ad65',
    500: '#4f8b22',
    950: '#000000',
  },
}
SCSS
$custom: #4f8b22;
$custom-light: #86ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8b22",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 94.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57456,
    "c": 0.14905,
    "h": 134.9
  },
  "luminance": 0.20243
}

Semantic roles & 50–950 ramp

primary
#4F8B22
secondary
#8C50B8
accent
#44E49F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #4F8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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