#4A8B1E#4A8B1E

#4A8B1E is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.2% C 0.154 H 135.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4A8B1E
RGBrgb(74, 139, 30)
HSLhsl(96, 64%, 33%)
HSVhsv(96, 78%, 55%)
CMYKcmyk(46.8%, 0%, 78.4%, 45.5%)
CIE-LABlab(51.85, -39.63, 48.13)
CIE-LCHlch(51.85, 62.35, 129.47°)
OKLaboklab(57.17% -0.1105 0.1073)
OKLCHoklch(57.17% 0.154 135.8)
XYZxyz(12.2907, 20.0141, 4.4435)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8B1E #5F1E8B
analogous
#808B1E #4A8B1E #1E8B29
triadic
#4A8B1E #1E4A8B #8B1E4A
tetradic
#4A8B1E #1E808B #5F1E8B #8B291E
square
#4A8B1E #1E808B #5F1E8B #8B291E
split-complementary
#4A8B1E #291E8B #8B1E80
monochromatic
#142608 #2F5913 #4A8B1E #65BD29 #84D84B

Accessibility & contrast

On white

4.20
#4A8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4A8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8B1E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8B1E#FFFFFF#000000##000000
##4A8B1E1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#478676
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a8b1e;
/* rgb */ color: rgb(74, 139, 30);
/* oklch */ color: oklch(57.2% 0.154 135.8);
Tailwind
colors: {
  custom: {
    50: '#83ad63',
    500: '#4a8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #4a8b1e;
$custom-light: #83ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8b1e",
  "rgb": {
    "r": 74,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 95.78,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57174,
    "c": 0.15404,
    "h": 135.8
  },
  "luminance": 0.20015
}

Semantic roles & 50–950 ramp

primary
#4A8B1E
secondary
#8D4ABB
accent
#40E7A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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