#4F892D#4F892D

#4F892D is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.0% C 0.139 H 135.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4F892D
RGBrgb(79, 137, 45)
HSLhsl(98, 51%, 36%)
HSVhsv(98, 67%, 54%)
CMYKcmyk(42.3%, 0%, 67.2%, 46.3%)
CIE-LABlab(51.54, -35.90, 41.96)
CIE-LCHlch(51.54, 55.23, 130.55°)
OKLaboklab(57.02% -0.0997 0.0965)
OKLCHoklch(57.02% 0.139 135.9)
XYZxyz(12.6434, 19.7424, 5.6266)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F892D #672D89
analogous
#7D892D #4F892D #2D8939
triadic
#4F892D #2D4F89 #892D4F
tetradic
#4F892D #2D7D89 #672D89 #89392D
square
#4F892D #2D7D89 #672D89 #89392D
split-complementary
#4F892D #392D89 #892D7D
monochromatic
#1A2D0F #345B1E #4F892D #6AB73C #8BCC64

Accessibility & contrast

On white

4.24
#4F892D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4F892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F892D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F892D#FFFFFF#000000##000000
##4F892D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E21
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#4D8476
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4f892d;
/* rgb */ color: rgb(79, 137, 45);
/* oklch */ color: oklch(57.0% 0.139 135.9);
Tailwind
colors: {
  custom: {
    50: '#85ac6b',
    500: '#4f892d',
    950: '#000000',
  },
}
SCSS
$custom: #4f892d;
$custom-light: #85ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f892d",
  "rgb": {
    "r": 79,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 97.826,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57019,
    "c": 0.1387,
    "h": 135.9
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#4F892D
secondary
#945FB3
accent
#4EDAA6
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4F892D

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

Preview Lab → · Contrast checker → · Palette generator →

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