#418D1C#418D1C

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

Color values

HEX#418D1C
RGBrgb(65, 141, 28)
HSLhsl(100, 67%, 33%)
HSVhsv(100, 80%, 55%)
CMYKcmyk(53.9%, 0%, 80.1%, 44.7%)
CIE-LABlab(52.13, -43.41, 48.93)
CIE-LCHlch(52.13, 65.41, 131.58°)
OKLaboklab(57.29% -0.1202 0.1088)
OKLCHoklch(57.29% 0.162 137.8)
XYZxyz(11.9140, 20.2565, 4.3805)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418D1C #681C8D
analogous
#798D1C #418D1C #1C8D2F
triadic
#418D1C #1C418D #8D1C41
tetradic
#418D1C #1C798D #681C8D #8D2F1C
square
#418D1C #1C798D #681C8D #8D2F1C
split-complementary
#418D1C #2F1C8D #8D1C79
monochromatic
#122708 #295A12 #418D1C #59C026 #78DB49

Accessibility & contrast

On white

4.16
#418D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##418D1C#FFFFFF#000000##000000
##418D1C1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #418d1c;
/* rgb */ color: rgb(65, 141, 28);
/* oklch */ color: oklch(57.3% 0.162 137.8);
Tailwind
colors: {
  custom: {
    50: '#7eaf62',
    500: '#418d1c',
    950: '#000000',
  },
}
SCSS
$custom: #418d1c;
$custom-light: #7eaf62;
$custom-dark: #000000;
JSON
{
  "hex": "#418d1c",
  "rgb": {
    "r": 65,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 100.354,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.16214,
    "h": 137.8
  },
  "luminance": 0.20257
}

Semantic roles & 50–950 ramp

primary
#418D1C
secondary
#9748BD
accent
#3EEAB2
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #418D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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