#418A1F#418A1F

#418A1F is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.157 H 137.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#418A1F
RGBrgb(65, 138, 31)
HSLhsl(101, 63%, 33%)
HSVhsv(101, 78%, 54%)
CMYKcmyk(52.9%, 0%, 77.5%, 45.9%)
CIE-LABlab(51.15, -42.03, 46.97)
CIE-LCHlch(51.15, 63.03, 131.82°)
OKLaboklab(56.49% -0.1163 0.1052)
OKLCHoklch(56.49% 0.157 137.9)
XYZxyz(11.5154, 19.3988, 4.4336)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418A1F #681F8A
analogous
#768A1F #418A1F #1F8A33
triadic
#418A1F #1F418A #8A1F41
tetradic
#418A1F #1F768A #681F8A #8A331F
square
#418A1F #1F768A #681F8A #8A331F
split-complementary
#418A1F #331F8A #8A1F76
monochromatic
#122609 #295814 #418A1F #59BC2A #78D74C

Accessibility & contrast

On white

4.30
#418A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#418A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418A1F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418A1F#FFFFFF#000000##000000
##418A1F1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E07
Deuteranopia (green-blind)
#85782A
Tritanopia (blue-blind)
#3B8576
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #418a1f;
/* rgb */ color: rgb(65, 138, 31);
/* oklch */ color: oklch(56.5% 0.157 137.9);
Tailwind
colors: {
  custom: {
    50: '#7dad63',
    500: '#418a1f',
    950: '#000000',
  },
}
SCSS
$custom: #418a1f;
$custom-light: #7dad63;
$custom-dark: #000000;
JSON
{
  "hex": "#418a1f",
  "rgb": {
    "r": 65,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 100.935,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56493,
    "c": 0.15681,
    "h": 137.9
  },
  "luminance": 0.194
}

Semantic roles & 50–950 ramp

primary
#418A1F
secondary
#974BBA
accent
#41E6B2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A

Preview Lab

Preview with #418A1F

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

Preview Lab → · Contrast checker → · Palette generator →

#418A1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva