#4F841C#4F841C

#4F841C is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.5% C 0.143 H 133.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4F841C
RGBrgb(79, 132, 28)
HSLhsl(91, 65%, 31%)
HSVhsv(91, 79%, 52%)
CMYKcmyk(40.2%, 0%, 78.8%, 48.2%)
CIE-LABlab(49.80, -34.98, 46.93)
CIE-LCHlch(49.80, 58.53, 126.70°)
OKLaboklab(55.55% -0.0985 0.1044)
OKLCHoklch(55.55% 0.143 133.3)
XYZxyz(11.6851, 18.2481, 4.0049)
Luminance0.1825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F841C #511C84
analogous
#83841C #4F841C #1C841D
triadic
#4F841C #1C4F84 #841C4F
tetradic
#4F841C #1C8384 #511C84 #841D1C
square
#4F841C #1C8384 #511C84 #841D1C
split-complementary
#4F841C #1D1C84 #841C83
monochromatic
#131F07 #315211 #4F841C #6DB627 #8CD743

Accessibility & contrast

On white

4.52
#4F841C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4F841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F841C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F841C#FFFFFF#000000##000000
##4F841C1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7903
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#4F7E70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4f841c;
/* rgb */ color: rgb(79, 132, 28);
/* oklch */ color: oklch(55.5% 0.143 133.3);
Tailwind
colors: {
  custom: {
    50: '#85a861',
    500: '#4f841c',
    950: '#000000',
  },
}
SCSS
$custom: #4f841c;
$custom-light: #85a861;
$custom-dark: #000000;
JSON
{
  "hex": "#4f841c",
  "rgb": {
    "r": 79,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 90.577,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55549,
    "c": 0.14349,
    "h": 133.3
  },
  "luminance": 0.18249
}

Semantic roles & 50–950 ramp

primary
#4F841C
secondary
#7F45B7
accent
#40E896
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4F841C

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

Preview Lab → · Contrast checker → · Palette generator →

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