#418C1F#418C1F

#418C1F is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.159 H 138.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#418C1F
RGBrgb(65, 140, 31)
HSLhsl(101, 64%, 34%)
HSVhsv(101, 78%, 55%)
CMYKcmyk(53.6%, 0%, 77.9%, 45.1%)
CIE-LABlab(51.81, -42.83, 47.62)
CIE-LCHlch(51.81, 64.04, 131.97°)
OKLaboklab(57.04% -0.1184 0.1065)
OKLCHoklch(57.04% 0.159 138)
XYZxyz(11.8050, 19.9780, 4.5301)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418C1F #6A1F8C
analogous
#778C1F #418C1F #1F8C33
triadic
#418C1F #1F418C #8C1F41
tetradic
#418C1F #1F778C #6A1F8C #8C331F
square
#418C1F #1F778C #6A1F8C #8C331F
split-complementary
#418C1F #331F8C #8C1F77
monochromatic
#122809 #2A5A14 #418C1F #58BE2A #79D84E

Accessibility & contrast

On white

4.20
#418C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#418C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418C1F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418C1F#FFFFFF#000000##000000
##418C1F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F05
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#3B8777
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418c1f;
/* rgb */ color: rgb(65, 140, 31);
/* oklch */ color: oklch(57.0% 0.159 138.0);
Tailwind
colors: {
  custom: {
    50: '#7eae63',
    500: '#418c1f',
    950: '#000000',
  },
}
SCSS
$custom: #418c1f;
$custom-light: #7eae63;
$custom-dark: #000000;
JSON
{
  "hex": "#418c1f",
  "rgb": {
    "r": 65,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 101.284,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57038,
    "c": 0.1593,
    "h": 138
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#418C1F
secondary
#984CBB
accent
#41E7B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #418C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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