#4A8A1A#4A8A1A

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

Color values

HEX#4A8A1A
RGBrgb(74, 138, 26)
HSLhsl(94, 68%, 32%)
HSVhsv(94, 81%, 54%)
CMYKcmyk(46.4%, 0%, 81.2%, 45.9%)
CIE-LABlab(51.50, -39.45, 49.12)
CIE-LCHlch(51.50, 62.99, 128.77°)
OKLaboklab(56.88% -0.1103 0.1088)
OKLCHoklch(56.88% 0.155 135.4)
XYZxyz(12.0987, 19.7066, 4.1433)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A1A #5A1A8A
analogous
#828A1A #4A8A1A #1A8A22
triadic
#4A8A1A #1A4A8A #8A1A4A
tetradic
#4A8A1A #1A828A #5A1A8A #8A221A
square
#4A8A1A #1A828A #5A1A8A #8A221A
split-complementary
#4A8A1A #221A8A #8A1A82
monochromatic
#132307 #2E5710 #4A8A1A #66BD24 #84DC43

Accessibility & contrast

On white

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

On black

4.94
#4A8A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8A1A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8A1A#FFFFFF#000000##000000
##4A8A1A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#488575
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a1a;
/* rgb */ color: rgb(74, 138, 26);
/* oklch */ color: oklch(56.9% 0.155 135.4);
Tailwind
colors: {
  custom: {
    50: '#83ad61',
    500: '#4a8a1a',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a1a;
$custom-light: #83ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a1a",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 26
  },
  "hsl": {
    "h": 94.286,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5688,
    "c": 0.15488,
    "h": 135.4
  },
  "luminance": 0.19707
}

Semantic roles & 50–950 ramp

primary
#4A8A1A
secondary
#8943BD
accent
#3DEBA0
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #4A8A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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