#4A8F1F#4A8F1F

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

Color values

HEX#4A8F1F
RGBrgb(74, 143, 31)
HSLhsl(97, 64%, 34%)
HSVhsv(97, 78%, 56%)
CMYKcmyk(48.3%, 0%, 78.3%, 43.9%)
CIE-LABlab(53.17, -41.22, 49.05)
CIE-LCHlch(53.17, 64.07, 130.04°)
OKLaboklab(58.25% -0.1147 0.1094)
OKLCHoklch(58.25% 0.159 136.4)
XYZxyz(12.8935, 21.1988, 4.7084)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8F1F #641F8F
analogous
#828F1F #4A8F1F #1F8F2C
triadic
#4A8F1F #1F4A8F #8F1F4A
tetradic
#4A8F1F #1F828F #641F8F #8F2C1F
square
#4A8F1F #1F828F #641F8F #8F2C1F
split-complementary
#4A8F1F #2C1F8F #8F1F82
monochromatic
#162A09 #305D14 #4A8F1F #64C12A #84D94F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A8F1F#FFFFFF#000000##000000
##4A8F1F1.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)
#948303
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#478A7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a8f1f;
/* rgb */ color: rgb(74, 143, 31);
/* oklch */ color: oklch(58.3% 0.159 136.4);
Tailwind
colors: {
  custom: {
    50: '#83b064',
    500: '#4a8f1f',
    950: '#000000',
  },
}
SCSS
$custom: #4a8f1f;
$custom-light: #83b064;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8f1f",
  "rgb": {
    "r": 74,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 96.964,
    "s": 64.368,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.15853,
    "h": 136.4
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#4A8F1F
secondary
#924EBC
accent
#40E7A7
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #4A8F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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