#4F861C#4F861C

#4F861C is a mid, vivid yellow-green. Relative luminance 0.188; OKLCH L 56.1% C 0.146 H 133.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4F861C
RGBrgb(79, 134, 28)
HSLhsl(91, 65%, 32%)
HSVhsv(91, 79%, 53%)
CMYKcmyk(41%, 0%, 79.1%, 47.5%)
CIE-LABlab(50.45, -35.86, 47.55)
CIE-LCHlch(50.45, 59.56, 127.03°)
OKLaboklab(56.08% -0.1008 0.1057)
OKLCHoklch(56.08% 0.146 133.7)
XYZxyz(11.9589, 18.7957, 4.0962)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F861C #531C86
analogous
#84861C #4F861C #1C861E
triadic
#4F861C #1C4F86 #861C4F
tetradic
#4F861C #1C8486 #531C86 #861E1C
square
#4F861C #1C8486 #531C86 #861E1C
split-complementary
#4F861C #1E1C86 #861C84
monochromatic
#132107 #315311 #4F861C #6DB927 #8BD844

Accessibility & contrast

On white

4.41
#4F861C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4F861C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F861C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F861C#FFFFFF#000000##000000
##4F861C1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B01
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#4F8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4f861c;
/* rgb */ color: rgb(79, 134, 28);
/* oklch */ color: oklch(56.1% 0.146 133.7);
Tailwind
colors: {
  custom: {
    50: '#85a961',
    500: '#4f861c',
    950: '#000000',
  },
}
SCSS
$custom: #4f861c;
$custom-light: #85a961;
$custom-dark: #000000;
JSON
{
  "hex": "#4f861c",
  "rgb": {
    "r": 79,
    "g": 134,
    "b": 28
  },
  "hsl": {
    "h": 91.132,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.14608,
    "h": 133.7
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#4F861C
secondary
#8145B9
accent
#3FE897
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F861C

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

Preview Lab → · Contrast checker → · Palette generator →

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