#4A8A1E#4A8A1E

#4A8A1E is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 56.9% C 0.153 H 135.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4A8A1E
RGBrgb(74, 138, 30)
HSLhsl(96, 64%, 33%)
HSVhsv(96, 78%, 54%)
CMYKcmyk(46.4%, 0%, 78.3%, 45.9%)
CIE-LABlab(51.53, -39.21, 47.81)
CIE-LCHlch(51.53, 61.84, 129.35°)
OKLaboklab(56.9% -0.1094 0.1067)
OKLCHoklch(56.9% 0.153 135.7)
XYZxyz(12.1466, 19.7258, 4.3955)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A1E #5E1E8A
analogous
#808A1E #4A8A1E #1E8A28
triadic
#4A8A1E #1E4A8A #8A1E4A
tetradic
#4A8A1E #1E808A #5E1E8A #8A281E
square
#4A8A1E #1E808A #5E1E8A #8A281E
split-complementary
#4A8A1E #281E8A #8A1E80
monochromatic
#142508 #2F5813 #4A8A1E #65BC29 #84D84B

Accessibility & contrast

On white

4.25
#4A8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4A8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8A1E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8A1E#FFFFFF#000000##000000
##4A8A1E1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E04
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#488576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a1e;
/* rgb */ color: rgb(74, 138, 30);
/* oklch */ color: oklch(56.9% 0.153 135.7);
Tailwind
colors: {
  custom: {
    50: '#83ad63',
    500: '#4a8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a1e;
$custom-light: #83ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a1e",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 95.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56905,
    "c": 0.15278,
    "h": 135.7
  },
  "luminance": 0.19727
}

Semantic roles & 50–950 ramp

primary
#4A8A1E
secondary
#8C4ABA
accent
#41E7A3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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