#4A811F#4A811F

#4A811F is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.5% C 0.141 H 134.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4A811F
RGBrgb(74, 129, 31)
HSLhsl(94, 61%, 31%)
HSVhsv(94, 76%, 51%)
CMYKcmyk(42.6%, 0%, 76%, 49.4%)
CIE-LABlab(48.58, -35.28, 44.58)
CIE-LCHlch(48.58, 56.85, 128.36°)
OKLaboklab(54.49% -0.0987 0.1)
OKLCHoklch(54.49% 0.141 134.6)
XYZxyz(10.9214, 17.2547, 4.0511)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A811F #561F81
analogous
#7B811F #4A811F #1F8125
triadic
#4A811F #1F4A81 #811F4A
tetradic
#4A811F #1F7B81 #561F81 #81251F
square
#4A811F #1F7B81 #561F81 #81251F
split-complementary
#4A811F #251F81 #811F7B
monochromatic
#111E07 #2E5013 #4A811F #66B22B #85D347

Accessibility & contrast

On white

4.72
#4A811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4A811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A811F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A811F#FFFFFF#000000##FFFFFF
##4A811F1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760C
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#497C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a811f;
/* rgb */ color: rgb(74, 129, 31);
/* oklch */ color: oklch(54.5% 0.141 134.6);
Tailwind
colors: {
  custom: {
    50: '#82a662',
    500: '#4a811f',
    950: '#000000',
  },
}
SCSS
$custom: #4a811f;
$custom-light: #82a662;
$custom-dark: #000000;
JSON
{
  "hex": "#4a811f",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 93.673,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.14053,
    "h": 134.6
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#4A811F
secondary
#8548B4
accent
#43E49E
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4A811F

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

Preview Lab → · Contrast checker → · Palette generator →

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