#4A8D1D#4A8D1D

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

Color values

HEX#4A8D1D
RGBrgb(74, 141, 29)
HSLhsl(96, 66%, 33%)
HSVhsv(96, 79%, 55%)
CMYKcmyk(47.5%, 0%, 79.4%, 44.7%)
CIE-LABlab(52.50, -40.52, 49.09)
CIE-LCHlch(52.50, 63.65, 129.54°)
OKLaboklab(57.7% -0.113 0.1092)
OKLCHoklch(57.7% 0.157 136)
XYZxyz(12.5704, 20.5935, 4.4747)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8D1D #601D8D
analogous
#828D1D #4A8D1D #1D8D28
triadic
#4A8D1D #1D4A8D #8D1D4A
tetradic
#4A8D1D #1D828D #601D8D #8D281D
square
#4A8D1D #1D828D #601D8D #8D281D
split-complementary
#4A8D1D #281D8D #8D1D82
monochromatic
#152708 #2F5A13 #4A8D1D #65C027 #84DA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8D1D#FFFFFF#000000##000000
##4A8D1D1.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)
#928100
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#478878
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a8d1d;
/* rgb */ color: rgb(74, 141, 29);
/* oklch */ color: oklch(57.7% 0.157 136.0);
Tailwind
colors: {
  custom: {
    50: '#83af63',
    500: '#4a8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #4a8d1d;
$custom-light: #83af63;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8d1d",
  "rgb": {
    "r": 74,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 95.893,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.1571,
    "h": 136
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#4A8D1D
secondary
#8E4ABC
accent
#3FE9A5
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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