#4A8D1E#4A8D1E

#4A8D1E is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 57.7% C 0.157 H 136.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A8D1E
RGBrgb(74, 141, 30)
HSLhsl(96, 65%, 34%)
HSVhsv(96, 79%, 55%)
CMYKcmyk(47.5%, 0%, 78.7%, 44.7%)
CIE-LABlab(52.51, -40.46, 48.76)
CIE-LCHlch(52.51, 63.36, 129.69°)
OKLaboklab(57.71% -0.1127 0.1086)
OKLCHoklch(57.71% 0.157 136.1)
XYZxyz(12.5829, 20.5985, 4.5409)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8D1E #611E8D
analogous
#818D1E #4A8D1E #1E8D29
triadic
#4A8D1E #1E4A8D #8D1E4A
tetradic
#4A8D1E #1E818D #611E8D #8D291E
square
#4A8D1E #1E818D #611E8D #8D291E
split-complementary
#4A8D1E #291E8D #8D1E81
monochromatic
#152809 #305B13 #4A8D1E #64BF29 #84D94C

Accessibility & contrast

On white

4.10
#4A8D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4A8D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8D1E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8D1E#FFFFFF#000000##000000
##4A8D1E1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928102
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#478878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a8d1e;
/* rgb */ color: rgb(74, 141, 30);
/* oklch */ color: oklch(57.7% 0.157 136.1);
Tailwind
colors: {
  custom: {
    50: '#83af63',
    500: '#4a8d1e',
    950: '#000000',
  },
}
SCSS
$custom: #4a8d1e;
$custom-light: #83af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8d1e",
  "rgb": {
    "r": 74,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 96.216,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.15656,
    "h": 136.1
  },
  "luminance": 0.20599
}

Semantic roles & 50–950 ramp

primary
#4A8D1E
secondary
#8F4BBC
accent
#40E8A5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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