#4F8F2A#4F8F2A

#4F8F2A is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.6% C 0.149 H 136.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4F8F2A
RGBrgb(79, 143, 42)
HSLhsl(98, 55%, 36%)
HSVhsv(98, 71%, 56%)
CMYKcmyk(44.8%, 0%, 70.6%, 43.9%)
CIE-LABlab(53.46, -38.77, 45.28)
CIE-LCHlch(53.46, 59.60, 130.57°)
OKLaboklab(58.58% -0.1077 0.103)
OKLCHoklch(58.58% 0.149 136.3)
XYZxyz(13.4645, 21.4736, 5.6254)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8F2A #6A2A8F
analogous
#828F2A #4F8F2A #2A8F38
triadic
#4F8F2A #2A4F8F #8F2A4F
tetradic
#4F8F2A #2A828F #6A2A8F #8F382A
square
#4F8F2A #2A828F #6A2A8F #8F382A
split-complementary
#4F8F2A #382A8F #8F2A82
monochromatic
#1B300E #35601C #4F8F2A #69BE38 #8BD162

Accessibility & contrast

On white

3.97
#4F8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4F8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8F2A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8F2A#FFFFFF#000000##000000
##4F8F2A1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831B
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#4C8A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4f8f2a;
/* rgb */ color: rgb(79, 143, 42);
/* oklch */ color: oklch(58.6% 0.149 136.3);
Tailwind
colors: {
  custom: {
    50: '#86b069',
    500: '#4f8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #4f8f2a;
$custom-light: #86b069;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8f2a",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 98.02,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.14902,
    "h": 136.3
  },
  "luminance": 0.21474
}

Semantic roles & 50–950 ramp

primary
#4F8F2A
secondary
#965EB7
accent
#4ADEA8
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #4F8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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