#4F812E#4F812E

#4F812E is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 54.9% C 0.127 H 135.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4F812E
RGBrgb(79, 129, 46)
HSLhsl(96, 47%, 34%)
HSVhsv(96, 64%, 51%)
CMYKcmyk(38.8%, 0%, 64.3%, 49.4%)
CIE-LABlab(48.96, -32.21, 38.68)
CIE-LCHlch(48.96, 50.33, 129.78°)
OKLaboklab(54.91% -0.0895 0.0896)
OKLCHoklch(54.91% 0.127 135)
XYZxyz(11.5676, 17.5595, 5.3641)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F812E #602E81
analogous
#79812E #4F812E #2E8137
triadic
#4F812E #2E4F81 #812E4F
tetradic
#4F812E #2E7981 #602E81 #81372E
square
#4F812E #2E7981 #602E81 #81372E
split-complementary
#4F812E #372E81 #812E79
monochromatic
#18270E #33541E #4F812E #6BAE3E #8AC762

Accessibility & contrast

On white

4.65
#4F812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4F812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F812E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F812E#FFFFFF#000000##FFFFFF
##4F812E1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#4E7C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4f812e;
/* rgb */ color: rgb(79, 129, 46);
/* oklch */ color: oklch(54.9% 0.127 135.0);
Tailwind
colors: {
  custom: {
    50: '#84a66a',
    500: '#4f812e',
    950: '#000000',
  },
}
SCSS
$custom: #4f812e;
$custom-light: #84a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f812e",
  "rgb": {
    "r": 79,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 96.145,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54908,
    "c": 0.12667,
    "h": 135
  },
  "luminance": 0.1756
}

Semantic roles & 50–950 ramp

primary
#4F812E
secondary
#8E5DAE
accent
#51D7A2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4F812E

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

Preview Lab → · Contrast checker → · Palette generator →

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