#418D1F#418D1F

#418D1F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.161 H 138.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#418D1F
RGBrgb(65, 141, 31)
HSLhsl(101, 64%, 34%)
HSVhsv(101, 78%, 55%)
CMYKcmyk(53.9%, 0%, 78%, 44.7%)
CIE-LABlab(52.14, -43.22, 47.94)
CIE-LCHlch(52.14, 64.55, 132.04°)
OKLaboklab(57.31% -0.1195 0.1072)
OKLCHoklch(57.31% 0.161 138.1)
XYZxyz(11.9517, 20.2716, 4.5791)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418D1F #6B1F8D
analogous
#788D1F #418D1F #1F8D34
triadic
#418D1F #1F418D #8D1F41
tetradic
#418D1F #1F788D #6B1F8D #8D341F
square
#418D1F #1F788D #6B1F8D #8D341F
split-complementary
#418D1F #341F8D #8D1F78
monochromatic
#132909 #2A5B14 #418D1F #58BF2A #79D84E

Accessibility & contrast

On white

4.15
#418D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#418D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418D1F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418D1F#FFFFFF#000000##000000
##418D1F1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928005
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#3B8878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #418d1f;
/* rgb */ color: rgb(65, 141, 31);
/* oklch */ color: oklch(57.3% 0.161 138.1);
Tailwind
colors: {
  custom: {
    50: '#7eaf63',
    500: '#418d1f',
    950: '#000000',
  },
}
SCSS
$custom: #418d1f;
$custom-light: #7eaf63;
$custom-dark: #000000;
JSON
{
  "hex": "#418d1f",
  "rgb": {
    "r": 65,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 101.455,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.16055,
    "h": 138.1
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#418D1F
secondary
#994DBB
accent
#41E7B4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #418D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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