#4A9D1F#4A9D1F

#4A9D1F is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.0% C 0.176 H 137.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4A9D1F
RGBrgb(74, 157, 31)
HSLhsl(100, 67%, 37%)
HSVhsv(100, 80%, 62%)
CMYKcmyk(52.9%, 0%, 80.3%, 38.4%)
CIE-LABlab(57.72, -46.79, 53.38)
CIE-LCHlch(57.72, 70.99, 131.24°)
OKLaboklab(62% -0.1297 0.1185)
OKLCHoklch(62% 0.176 137.6)
XYZxyz(15.1278, 25.6676, 5.4532)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A9D1F #721F9D
analogous
#899D1F #4A9D1F #1F9D33
triadic
#4A9D1F #1F4A9D #9D1F4A
tetradic
#4A9D1F #1F899D #721F9D #9D331F
square
#4A9D1F #1F899D #721F9D #9D331F
split-complementary
#4A9D1F #331F9D #9D1F89
monochromatic
#1A370B #326A15 #4A9D1F #62D029 #86DE58

Accessibility & contrast

On white

3.42
#4A9D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#4A9D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A9D1F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A9D1F#FFFFFF#000000##000000
##4A9D1F1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#449786
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4a9d1f;
/* rgb */ color: rgb(74, 157, 31);
/* oklch */ color: oklch(62.0% 0.176 137.6);
Tailwind
colors: {
  custom: {
    50: '#85bb66',
    500: '#4a9d1f',
    950: '#000000',
  },
}
SCSS
$custom: #4a9d1f;
$custom-light: #85bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#4a9d1f",
  "rgb": {
    "r": 74,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 99.524,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62002,
    "c": 0.17566,
    "h": 137.6
  },
  "luminance": 0.25669
}

Semantic roles & 50–950 ramp

primary
#4A9D1F
secondary
#9D56C2
accent
#3EEAAF
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #4A9D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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