#4F8F19#4F8F19

#4F8F19 is a mid, vivid yellow-green. Relative luminance 0.214; OKLCH L 58.5% C 0.159 H 134.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4F8F19
RGBrgb(79, 143, 25)
HSLhsl(93, 70%, 33%)
HSVhsv(93, 83%, 56%)
CMYKcmyk(44.8%, 0%, 82.5%, 43.9%)
CIE-LABlab(53.36, -39.89, 51.22)
CIE-LCHlch(53.36, 64.92, 127.91°)
OKLaboklab(58.46% -0.1119 0.1129)
OKLCHoklch(58.46% 0.159 134.7)
XYZxyz(13.2221, 21.3766, 4.3489)
Luminance0.2138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8F19 #59198F
analogous
#8A8F19 #4F8F19 #198F1E
triadic
#4F8F19 #194F8F #8F194F
tetradic
#4F8F19 #198A8F #59198F #8F1E19
square
#4F8F19 #198A8F #59198F #8F1E19
split-complementary
#4F8F19 #1E198F #8F198A
monochromatic
#152707 #325B10 #4F8F19 #6CC322 #8BDE44

Accessibility & contrast

On white

3.98
#4F8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4F8F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8F19
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8F19#FFFFFF#000000##000000
##4F8F191.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#4E897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4f8f19;
/* rgb */ color: rgb(79, 143, 25);
/* oklch */ color: oklch(58.5% 0.159 134.7);
Tailwind
colors: {
  custom: {
    50: '#87b061',
    500: '#4f8f19',
    950: '#000000',
  },
}
SCSS
$custom: #4f8f19;
$custom-light: #87b061;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8f19",
  "rgb": {
    "r": 79,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 92.542,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.15895,
    "h": 134.7
  },
  "luminance": 0.21377
}

Semantic roles & 50–950 ramp

primary
#4F8F19
secondary
#8744BF
accent
#3BED9B
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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