#418E21#418E21

#418E21 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.6% C 0.161 H 138.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#418E21
RGBrgb(65, 142, 33)
HSLhsl(102, 62%, 34%)
HSVhsv(102, 77%, 56%)
CMYKcmyk(54.2%, 0%, 76.8%, 44.3%)
CIE-LABlab(52.49, -43.48, 47.57)
CIE-LCHlch(52.49, 64.44, 132.43°)
OKLaboklab(57.6% -0.1201 0.1067)
OKLCHoklch(57.6% 0.161 138.4)
XYZxyz(12.1270, 20.5787, 4.7716)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418E21 #6E218E
analogous
#788E21 #418E21 #218E37
triadic
#418E21 #21418E #8E2141
tetradic
#418E21 #21788E #6E218E #8E3721
square
#418E21 #21788E #6E218E #8E3721
split-complementary
#418E21 #37218E #8E2178
monochromatic
#142B0A #2A5C15 #418E21 #58C02D #79D752

Accessibility & contrast

On white

4.10
#418E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#418E21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #418E21
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418E21#FFFFFF#000000##000000
##418E211.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938109
Deuteranopia (green-blind)
#897B2D
Tritanopia (blue-blind)
#3A8979
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #418e21;
/* rgb */ color: rgb(65, 142, 33);
/* oklch */ color: oklch(57.6% 0.161 138.4);
Tailwind
colors: {
  custom: {
    50: '#7eb065',
    500: '#418e21',
    950: '#000000',
  },
}
SCSS
$custom: #418e21;
$custom-light: #7eb065;
$custom-dark: #000000;
JSON
{
  "hex": "#418e21",
  "rgb": {
    "r": 65,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 102.385,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57597,
    "c": 0.16064,
    "h": 138.4
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#418E21
secondary
#9B50BA
accent
#42E5B6
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #418E21

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

Preview Lab → · Contrast checker → · Palette generator →

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