#4A8F1D#4A8F1D

#4A8F1D is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.2% C 0.160 H 136.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4A8F1D
RGBrgb(74, 143, 29)
HSLhsl(96, 66%, 34%)
HSVhsv(96, 80%, 56%)
CMYKcmyk(48.3%, 0%, 79.7%, 43.9%)
CIE-LABlab(53.16, -41.34, 49.71)
CIE-LCHlch(53.16, 64.65, 129.75°)
OKLaboklab(58.24% -0.1152 0.1105)
OKLCHoklch(58.24% 0.16 136.2)
XYZxyz(12.8679, 21.1886, 4.5739)
Luminance0.2119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8F1D #621D8F
analogous
#838F1D #4A8F1D #1D8F29
triadic
#4A8F1D #1D4A8F #8F1D4A
tetradic
#4A8F1D #1D838F #621D8F #8F291D
square
#4A8F1D #1D838F #621D8F #8F291D
split-complementary
#4A8F1D #291D8F #8F1D83
monochromatic
#152908 #305C13 #4A8F1D #64C227 #84DB4C

Accessibility & contrast

On white

4.01
#4A8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4A8F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A8F1D
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8F1D#FFFFFF#000000##000000
##4A8F1D1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#47897A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a8f1d;
/* rgb */ color: rgb(74, 143, 29);
/* oklch */ color: oklch(58.2% 0.160 136.2);
Tailwind
colors: {
  custom: {
    50: '#83b063',
    500: '#4a8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #4a8f1d;
$custom-light: #83b063;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8f1d",
  "rgb": {
    "r": 74,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 96.316,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58242,
    "c": 0.15959,
    "h": 136.2
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#4A8F1D
secondary
#904BBD
accent
#3FE9A6
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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