#4A8E1E#4A8E1E

#4A8E1E is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.0% C 0.158 H 136.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4A8E1E
RGBrgb(74, 142, 30)
HSLhsl(96, 65%, 34%)
HSVhsv(96, 79%, 56%)
CMYKcmyk(47.9%, 0%, 78.9%, 44.3%)
CIE-LABlab(52.83, -40.87, 49.07)
CIE-LCHlch(52.83, 63.86, 129.79°)
OKLaboklab(57.98% -0.1139 0.1093)
OKLCHoklch(57.98% 0.158 136.2)
XYZxyz(12.7310, 20.8948, 4.5903)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8E1E #621E8E
analogous
#828E1E #4A8E1E #1E8E2A
triadic
#4A8E1E #1E4A8E #8E1E4A
tetradic
#4A8E1E #1E828E #621E8E #8E2A1E
square
#4A8E1E #1E828E #621E8E #8E2A1E
split-complementary
#4A8E1E #2A1E8E #8E1E82
monochromatic
#152909 #305B13 #4A8E1E #64C129 #84D94D

Accessibility & contrast

On white

4.05
#4A8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4A8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8E1E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8E1E#FFFFFF#000000##000000
##4A8E1E1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938201
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#478979
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a8e1e;
/* rgb */ color: rgb(74, 142, 30);
/* oklch */ color: oklch(58.0% 0.158 136.2);
Tailwind
colors: {
  custom: {
    50: '#83b063',
    500: '#4a8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #4a8e1e;
$custom-light: #83b063;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8e1e",
  "rgb": {
    "r": 74,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 96.429,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57979,
    "c": 0.15782,
    "h": 136.2
  },
  "luminance": 0.20896
}

Semantic roles & 50–950 ramp

primary
#4A8E1E
secondary
#904CBC
accent
#40E8A6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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