#418B1F#418B1F

#418B1F is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.158 H 138.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#418B1F
RGBrgb(65, 139, 31)
HSLhsl(101, 64%, 33%)
HSVhsv(101, 78%, 55%)
CMYKcmyk(53.2%, 0%, 77.7%, 45.5%)
CIE-LABlab(51.48, -42.43, 47.29)
CIE-LCHlch(51.48, 63.54, 131.90°)
OKLaboklab(56.77% -0.1174 0.1059)
OKLCHoklch(56.77% 0.158 138)
XYZxyz(11.6595, 19.6871, 4.4816)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418B1F #691F8B
analogous
#778B1F #418B1F #1F8B33
triadic
#418B1F #1F418B #8B1F41
tetradic
#418B1F #1F778B #691F8B #8B331F
square
#418B1F #1F778B #691F8B #8B331F
split-complementary
#418B1F #331F8B #8B1F77
monochromatic
#122709 #2A5914 #418B1F #58BD2A #79D74D

Accessibility & contrast

On white

4.25
#418B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#418B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418B1F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418B1F#FFFFFF#000000##000000
##418B1F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E06
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#3B8677
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #418b1f;
/* rgb */ color: rgb(65, 139, 31);
/* oklch */ color: oklch(56.8% 0.158 138.0);
Tailwind
colors: {
  custom: {
    50: '#7ead63',
    500: '#418b1f',
    950: '#000000',
  },
}
SCSS
$custom: #418b1f;
$custom-light: #7ead63;
$custom-dark: #000000;
JSON
{
  "hex": "#418b1f",
  "rgb": {
    "r": 65,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 101.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.15807,
    "h": 138
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#418B1F
secondary
#974CBA
accent
#41E7B3
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #418B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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