#4A862D#4A862D

#4A862D is a mid, vivid green. Relative luminance 0.187; OKLCH L 56.0% C 0.137 H 137.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4A862D
RGBrgb(74, 134, 45)
HSLhsl(100, 50%, 35%)
HSVhsv(100, 66%, 53%)
CMYKcmyk(44.8%, 0%, 66.4%, 47.5%)
CIE-LABlab(50.33, -36.31, 40.57)
CIE-LCHlch(50.33, 54.45, 131.83°)
OKLaboklab(55.96% -0.1004 0.0936)
OKLCHoklch(55.96% 0.137 137)
XYZxyz(11.8224, 18.6948, 5.4676)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A862D #692D86
analogous
#77862D #4A862D #2D863C
triadic
#4A862D #2D4A86 #862D4A
tetradic
#4A862D #2D7786 #692D86 #863C2D
square
#4A862D #2D7786 #692D86 #863C2D
split-complementary
#4A862D #3C2D86 #862D77
monochromatic
#172A0E #31581E #4A862D #63B43C #85CB63

Accessibility & contrast

On white

4.43
#4A862D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4A862D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A862D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A862D#FFFFFF#000000##000000
##4A862D1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B22
Deuteranopia (green-blind)
#827634
Tritanopia (blue-blind)
#478174
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a862d;
/* rgb */ color: rgb(74, 134, 45);
/* oklch */ color: oklch(56.0% 0.137 137.0);
Tailwind
colors: {
  custom: {
    50: '#81aa6a',
    500: '#4a862d',
    950: '#000000',
  },
}
SCSS
$custom: #4a862d;
$custom-light: #81aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a862d",
  "rgb": {
    "r": 74,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 100.449,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.13728,
    "h": 137
  },
  "luminance": 0.18696
}

Semantic roles & 50–950 ramp

primary
#4A862D
secondary
#965EB1
accent
#4FD9AC
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #4A862D

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

Preview Lab → · Contrast checker → · Palette generator →

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