#418F28#418F28

#418F28 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.158 H 139.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#418F28
RGBrgb(65, 143, 40)
HSLhsl(105, 56%, 36%)
HSVhsv(105, 72%, 56%)
CMYKcmyk(54.5%, 0%, 72%, 43.9%)
CIE-LABlab(52.86, -43.34, 45.28)
CIE-LCHlch(52.86, 62.68, 133.74°)
OKLaboklab(57.92% -0.1192 0.1029)
OKLCHoklch(57.92% 0.158 139.2)
XYZxyz(12.3849, 20.9210, 5.3926)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418F28 #76288F
analogous
#748F28 #418F28 #288F42
triadic
#418F28 #28418F #8F2841
tetradic
#418F28 #28748F #76288F #8F4228
square
#418F28 #28748F #76288F #8F4228
split-complementary
#418F28 #42288F #8F2874
monochromatic
#162F0D #2B5F1B #418F28 #57BF35 #7BD25F

Accessibility & contrast

On white

4.05
#418F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#418F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418F28
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418F28#FFFFFF#000000##000000
##418F281.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938218
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#398A7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #418f28;
/* rgb */ color: rgb(65, 143, 40);
/* oklch */ color: oklch(57.9% 0.158 139.2);
Tailwind
colors: {
  custom: {
    50: '#7eb068',
    500: '#418f28',
    950: '#000000',
  },
}
SCSS
$custom: #418f28;
$custom-light: #7eb068;
$custom-dark: #000000;
JSON
{
  "hex": "#418f28",
  "rgb": {
    "r": 65,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 105.437,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57923,
    "c": 0.15753,
    "h": 139.2
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#418F28
secondary
#A15BB8
accent
#48E0BB
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #418F28

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

Preview Lab → · Contrast checker → · Palette generator →

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