#4F8A2C#4F8A2C

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

Color values

HEX#4F8A2C
RGBrgb(79, 138, 44)
HSLhsl(98, 52%, 36%)
HSVhsv(98, 68%, 54%)
CMYKcmyk(42.8%, 0%, 68.1%, 45.9%)
CIE-LABlab(51.86, -36.43, 42.74)
CIE-LCHlch(51.86, 56.16, 130.45°)
OKLaboklab(57.28% -0.1012 0.098)
OKLCHoklch(57.28% 0.141 135.9)
XYZxyz(12.7672, 20.0204, 5.5740)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A2C #672C8A
analogous
#7E8A2C #4F8A2C #2C8A38
triadic
#4F8A2C #2C4F8A #8A2C4F
tetradic
#4F8A2C #2C7E8A #672C8A #8A382C
square
#4F8A2C #2C7E8A #672C8A #8A382C
split-complementary
#4F8A2C #382C8A #8A2C7E
monochromatic
#1A2D0E #345C1D #4F8A2C #6AB83B #8BCD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8A2C#FFFFFF#000000##000000
##4F8A2C1.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)
#8F7F1F
Deuteranopia (green-blind)
#877A34
Tritanopia (blue-blind)
#4D8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8a2c;
/* rgb */ color: rgb(79, 138, 44);
/* oklch */ color: oklch(57.3% 0.141 135.9);
Tailwind
colors: {
  custom: {
    50: '#85ac6a',
    500: '#4f8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a2c;
$custom-light: #85ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a2c",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 97.66,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57275,
    "c": 0.14084,
    "h": 135.9
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#4F8A2C
secondary
#945EB4
accent
#4DDBA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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