#4F8A2D#4F8A2D

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

Color values

HEX#4F8A2D
RGBrgb(79, 138, 45)
HSLhsl(98, 51%, 36%)
HSVhsv(98, 67%, 54%)
CMYKcmyk(42.8%, 0%, 67.4%, 45.9%)
CIE-LABlab(51.87, -36.34, 42.31)
CIE-LCHlch(51.87, 55.78, 130.66°)
OKLaboklab(57.29% -0.1009 0.0972)
OKLCHoklch(57.29% 0.14 136.1)
XYZxyz(12.7863, 20.0280, 5.6742)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8A2D #682D8A
analogous
#7D8A2D #4F8A2D #2D8A39
triadic
#4F8A2D #2D4F8A #8A2D4F
tetradic
#4F8A2D #2D7D8A #682D8A #8A392D
square
#4F8A2D #2D7D8A #682D8A #8A392D
split-complementary
#4F8A2D #392D8A #8A2D7D
monochromatic
#1A2E0F #355C1E #4F8A2D #69B83C #8BCD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F8A2D#FFFFFF#000000##000000
##4F8A2D1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f8a2d;
/* rgb */ color: rgb(79, 138, 45);
/* oklch */ color: oklch(57.3% 0.140 136.1);
Tailwind
colors: {
  custom: {
    50: '#85ac6b',
    500: '#4f8a2d',
    950: '#000000',
  },
}
SCSS
$custom: #4f8a2d;
$custom-light: #85ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8a2d",
  "rgb": {
    "r": 79,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 98.065,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.14007,
    "h": 136.1
  },
  "luminance": 0.20029
}

Semantic roles & 50–950 ramp

primary
#4F8A2D
secondary
#9560B3
accent
#4DDAA7
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F8A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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