#4A862A#4A862A

#4A862A is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.9% C 0.140 H 136.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4A862A
RGBrgb(74, 134, 42)
HSLhsl(99, 52%, 35%)
HSVhsv(99, 69%, 53%)
CMYKcmyk(44.8%, 0%, 68.7%, 47.5%)
CIE-LABlab(50.30, -36.59, 41.87)
CIE-LCHlch(50.30, 55.60, 131.15°)
OKLaboklab(55.93% -0.1014 0.0959)
OKLCHoklch(55.93% 0.14 136.6)
XYZxyz(11.7667, 18.6725, 5.1742)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A862A #662A86
analogous
#78862A #4A862A #2A8638
triadic
#4A862A #2A4A86 #862A4A
tetradic
#4A862A #2A7886 #662A86 #86382A
square
#4A862A #2A7886 #662A86 #86382A
split-complementary
#4A862A #382A86 #862A78
monochromatic
#17290D #30571B #4A862A #64B539 #84CD5E

Accessibility & contrast

On white

4.44
#4A862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4A862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A862A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A862A#FFFFFF#000000##000000
##4A862A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#827632
Tritanopia (blue-blind)
#478173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a862a;
/* rgb */ color: rgb(74, 134, 42);
/* oklch */ color: oklch(55.9% 0.140 136.6);
Tailwind
colors: {
  custom: {
    50: '#82aa68',
    500: '#4a862a',
    950: '#000000',
  },
}
SCSS
$custom: #4a862a;
$custom-light: #82aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#4a862a",
  "rgb": {
    "r": 74,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 99.13,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.13961,
    "h": 136.6
  },
  "luminance": 0.18673
}

Semantic roles & 50–950 ramp

primary
#4A862A
secondary
#935AB2
accent
#4CDCAA
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A862A

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

Preview Lab → · Contrast checker → · Palette generator →

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