#4F8A2B#4F8A2B

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

Color values

HEX#4F8A2B
RGBrgb(79, 138, 43)
HSLhsl(97, 52%, 35%)
HSVhsv(97, 69%, 54%)
CMYKcmyk(42.8%, 0%, 68.8%, 45.9%)
CIE-LABlab(51.85, -36.52, 43.16)
CIE-LCHlch(51.85, 56.54, 130.24°)
OKLaboklab(57.27% -0.1015 0.0987)
OKLCHoklch(57.27% 0.142 135.8)
XYZxyz(12.7487, 20.0129, 5.4762)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A2B #662B8A
analogous
#7E8A2B #4F8A2B #2B8A36
triadic
#4F8A2B #2B4F8A #8A2B4F
tetradic
#4F8A2B #2B7E8A #662B8A #8A362B
square
#4F8A2B #2B7E8A #662B8A #8A362B
split-complementary
#4F8A2B #362B8A #8A2B7E
monochromatic
#1A2D0E #345B1C #4F8A2B #6AB93A #8BCE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8A2B#FFFFFF#000000##000000
##4F8A2B1.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)
#8F7F1E
Deuteranopia (green-blind)
#877A33
Tritanopia (blue-blind)
#4D8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8a2b;
/* rgb */ color: rgb(79, 138, 43);
/* oklch */ color: oklch(57.3% 0.142 135.8);
Tailwind
colors: {
  custom: {
    50: '#85ac69',
    500: '#4f8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a2b;
$custom-light: #85ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a2b",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 97.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.14159,
    "h": 135.8
  },
  "luminance": 0.20014
}

Semantic roles & 50–950 ramp

primary
#4F8A2B
secondary
#935DB4
accent
#4CDCA5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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