#418F1C#418F1C

#418F1C is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.165 H 138.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#418F1C
RGBrgb(65, 143, 28)
HSLhsl(101, 67%, 34%)
HSVhsv(101, 80%, 56%)
CMYKcmyk(54.5%, 0%, 80.4%, 43.9%)
CIE-LABlab(52.79, -44.20, 49.55)
CIE-LCHlch(52.79, 66.40, 131.73°)
OKLaboklab(57.84% -0.1223 0.1101)
OKLCHoklch(57.84% 0.165 138)
XYZxyz(12.2116, 20.8516, 4.4797)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418F1C #6A1C8F
analogous
#7A8F1C #418F1C #1C8F31
triadic
#418F1C #1C418F #8F1C41
tetradic
#418F1C #1C7A8F #6A1C8F #8F311C
square
#418F1C #1C7A8F #6A1C8F #8F311C
split-complementary
#418F1C #311C8F #8F1C7A
monochromatic
#122908 #2A5C12 #418F1C #58C226 #79DC4A

Accessibility & contrast

On white

4.06
#418F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#418F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418F1C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418F1C#FFFFFF#000000##000000
##418F1C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8A7C29
Tritanopia (blue-blind)
#3B8A7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #418f1c;
/* rgb */ color: rgb(65, 143, 28);
/* oklch */ color: oklch(57.8% 0.165 138.0);
Tailwind
colors: {
  custom: {
    50: '#7eb062',
    500: '#418f1c',
    950: '#000000',
  },
}
SCSS
$custom: #418f1c;
$custom-light: #7eb062;
$custom-dark: #000000;
JSON
{
  "hex": "#418f1c",
  "rgb": {
    "r": 65,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 100.696,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57836,
    "c": 0.16458,
    "h": 138
  },
  "luminance": 0.20853
}

Semantic roles & 50–950 ramp

primary
#418F1C
secondary
#9849BE
accent
#3EEAB3
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #418F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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