#4F8B1C#4F8B1C

#4F8B1C is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.4% C 0.152 H 134.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4F8B1C
RGBrgb(79, 139, 28)
HSLhsl(92, 66%, 33%)
HSVhsv(92, 80%, 55%)
CMYKcmyk(43.2%, 0%, 79.9%, 45.5%)
CIE-LABlab(52.07, -38.03, 49.09)
CIE-LCHlch(52.07, 62.10, 127.76°)
OKLaboklab(57.42% -0.1067 0.1089)
OKLCHoklch(57.42% 0.152 134.4)
XYZxyz(12.6664, 20.2106, 4.3320)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F8B1C #581C8B
analogous
#878B1C #4F8B1C #1C8B20
triadic
#4F8B1C #1C4F8B #8B1C4F
tetradic
#4F8B1C #1C878B #581C8B #8B201C
square
#4F8B1C #1C878B #581C8B #8B201C
split-complementary
#4F8B1C #201C8B #8B1C87
monochromatic
#152507 #325812 #4F8B1C #6CBE26 #8BDA47

Accessibility & contrast

On white

4.16
#4F8B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4F8B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F8B1C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F8B1C#FFFFFF#000000##000000
##4F8B1C1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#897A28
Tritanopia (blue-blind)
#4E8576
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f8b1c;
/* rgb */ color: rgb(79, 139, 28);
/* oklch */ color: oklch(57.4% 0.152 134.4);
Tailwind
colors: {
  custom: {
    50: '#86ad62',
    500: '#4f8b1c',
    950: '#000000',
  },
}
SCSS
$custom: #4f8b1c;
$custom-light: #86ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f8b1c",
  "rgb": {
    "r": 79,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 92.432,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.15246,
    "h": 134.4
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#4F8B1C
secondary
#8647BC
accent
#3EE99B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F8B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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