#4A861F#4A861F

#4A861F is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.8% C 0.147 H 135.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4A861F
RGBrgb(74, 134, 31)
HSLhsl(95, 62%, 32%)
HSVhsv(95, 77%, 53%)
CMYKcmyk(44.8%, 0%, 76.9%, 47.5%)
CIE-LABlab(50.22, -37.45, 46.19)
CIE-LCHlch(50.22, 59.47, 129.03°)
OKLaboklab(55.84% -0.1046 0.1034)
OKLCHoklch(55.84% 0.147 135.3)
XYZxyz(11.5962, 18.6043, 4.2760)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A861F #5B1F86
analogous
#7E861F #4A861F #1F8627
triadic
#4A861F #1F4A86 #861F4A
tetradic
#4A861F #1F7E86 #5B1F86 #86271F
square
#4A861F #1F7E86 #5B1F86 #86271F
split-complementary
#4A861F #271F86 #861F7E
monochromatic
#132308 #2F5414 #4A861F #65B82A #84D54A

Accessibility & contrast

On white

4.45
#4A861F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4A861F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A861F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A861F#FFFFFF#000000##000000
##4A861F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B09
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#488172
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a861f;
/* rgb */ color: rgb(74, 134, 31);
/* oklch */ color: oklch(55.8% 0.147 135.3);
Tailwind
colors: {
  custom: {
    50: '#82aa63',
    500: '#4a861f',
    950: '#000000',
  },
}
SCSS
$custom: #4a861f;
$custom-light: #82aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#4a861f",
  "rgb": {
    "r": 74,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 94.951,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.14707,
    "h": 135.3
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#4A861F
secondary
#8A49B8
accent
#42E5A1
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A861F

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

Preview Lab → · Contrast checker → · Palette generator →

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