#4A862B#4A862B

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

Color values

HEX#4A862B
RGBrgb(74, 134, 43)
HSLhsl(100, 51%, 35%)
HSVhsv(100, 68%, 53%)
CMYKcmyk(44.8%, 0%, 67.9%, 47.5%)
CIE-LABlab(50.31, -36.50, 41.44)
CIE-LCHlch(50.31, 55.22, 131.37°)
OKLaboklab(55.94% -0.1011 0.0952)
OKLCHoklch(55.94% 0.139 136.7)
XYZxyz(11.7848, 18.6798, 5.2696)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A862B #672B86
analogous
#78862B #4A862B #2B8639
triadic
#4A862B #2B4A86 #862B4A
tetradic
#4A862B #2B7886 #672B86 #86392B
square
#4A862B #2B7886 #672B86 #86392B
split-complementary
#4A862B #392B86 #862B78
monochromatic
#17290D #30581C #4A862B #64B43A #84CC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A862B#FFFFFF#000000##000000
##4A862B1.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)
#8B7B1F
Deuteranopia (green-blind)
#827633
Tritanopia (blue-blind)
#478173
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a862b;
/* rgb */ color: rgb(74, 134, 43);
/* oklch */ color: oklch(55.9% 0.139 136.7);
Tailwind
colors: {
  custom: {
    50: '#82aa69',
    500: '#4a862b',
    950: '#000000',
  },
}
SCSS
$custom: #4a862b;
$custom-light: #82aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#4a862b",
  "rgb": {
    "r": 74,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 99.56,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55938,
    "c": 0.13885,
    "h": 136.7
  },
  "luminance": 0.1868
}

Semantic roles & 50–950 ramp

primary
#4A862B
secondary
#945BB2
accent
#4DDBAB
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A862B

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

Preview Lab → · Contrast checker → · Palette generator →

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