#4A8A1F#4A8A1F

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

Color values

HEX#4A8A1F
RGBrgb(74, 138, 31)
HSLhsl(96, 63%, 33%)
HSVhsv(96, 78%, 54%)
CMYKcmyk(46.4%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.53, -39.15, 47.47)
CIE-LCHlch(51.53, 61.53, 129.51°)
OKLaboklab(56.91% -0.1091 0.1061)
OKLCHoklch(56.91% 0.152 135.8)
XYZxyz(12.1595, 19.7310, 4.4638)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8A1F #5F1F8A
analogous
#7F8A1F #4A8A1F #1F8A29
triadic
#4A8A1F #1F4A8A #8A1F4A
tetradic
#4A8A1F #1F7F8A #5F1F8A #8A291F
square
#4A8A1F #1F7F8A #5F1F8A #8A291F
split-complementary
#4A8A1F #291F8A #8A1F7F
monochromatic
#142609 #2F5814 #4A8A1F #65BC2A #84D74C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8A1F#FFFFFF#000000##000000
##4A8A1F1.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)
#8F7E06
Deuteranopia (green-blind)
#87792A
Tritanopia (blue-blind)
#488576
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4a8a1f;
/* rgb */ color: rgb(74, 138, 31);
/* oklch */ color: oklch(56.9% 0.152 135.8);
Tailwind
colors: {
  custom: {
    50: '#83ad63',
    500: '#4a8a1f',
    950: '#000000',
  },
}
SCSS
$custom: #4a8a1f;
$custom-light: #83ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8a1f",
  "rgb": {
    "r": 74,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 95.888,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.15221,
    "h": 135.8
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#4A8A1F
secondary
#8D4BBA
accent
#41E6A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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