#4A802F#4A802F

#4A802F is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.4% C 0.127 H 136.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4A802F
RGBrgb(74, 128, 47)
HSLhsl(100, 46%, 34%)
HSVhsv(100, 63%, 50%)
CMYKcmyk(42.2%, 0%, 63.3%, 49.8%)
CIE-LABlab(48.38, -33.44, 37.50)
CIE-LCHlch(48.38, 50.24, 131.73°)
OKLaboklab(54.37% -0.0925 0.0873)
OKLCHoklch(54.37% 0.127 136.7)
XYZxyz(11.0560, 17.0988, 5.4066)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A802F #652F80
analogous
#73802F #4A802F #2F803D
triadic
#4A802F #2F4A80 #802F4A
tetradic
#4A802F #2F7380 #652F80 #803D2F
square
#4A802F #2F7380 #652F80 #803D2F
split-complementary
#4A802F #3D2F80 #802F73
monochromatic
#16260E #30531F #4A802F #64AD3F #84C663

Accessibility & contrast

On white

4.75
#4A802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4A802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A802F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A802F#FFFFFF#000000##FFFFFF
##4A802F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847626
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#487B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a802f;
/* rgb */ color: rgb(74, 128, 47);
/* oklch */ color: oklch(54.4% 0.127 136.7);
Tailwind
colors: {
  custom: {
    50: '#81a56b',
    500: '#4a802f',
    950: '#000000',
  },
}
SCSS
$custom: #4a802f;
$custom-light: #81a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a802f",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 100,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54374,
    "c": 0.12718,
    "h": 136.7
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

primary
#4A802F
secondary
#935EAD
accent
#52D6AA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4A802F

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

Preview Lab → · Contrast checker → · Palette generator →

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