#418042#418042

#418042 is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.2% C 0.114 H 144.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#418042
RGBrgb(65, 128, 66)
HSLhsl(121, 33%, 38%)
HSVhsv(121, 49%, 50%)
CMYKcmyk(49.2%, 0%, 48.4%, 49.8%)
CIE-LABlab(48.20, -33.95, 27.45)
CIE-LCHlch(48.20, 43.66, 141.05°)
OKLaboklab(54.19% -0.0923 0.0668)
OKLCHoklch(54.19% 0.114 144.1)
XYZxyz(10.8820, 16.9547, 7.8524)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418042 #80417F
analogous
#608041 #418042 #418061
triadic
#418042 #424180 #804241
tetradic
#418042 #416080 #80417F #806141
square
#418042 #416080 #80417F #806141
split-complementary
#418042 #614180 #804160
monochromatic
#182F18 #2C572D #418042 #56A957 #7EBD7F

Accessibility & contrast

On white

4.78
#418042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#418042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418042
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418042#FFFFFF#000000##FFFFFF
##4180421.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#797046
Tritanopia (blue-blind)
#387D71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #418042;
/* rgb */ color: rgb(65, 128, 66);
/* oklch */ color: oklch(54.2% 0.114 144.1);
Tailwind
colors: {
  custom: {
    50: '#7aa577',
    500: '#418042',
    950: '#000000',
  },
}
SCSS
$custom: #418042;
$custom-light: #7aa577;
$custom-dark: #000000;
JSON
{
  "hex": "#418042",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 66
  },
  "hsl": {
    "h": 120.952,
    "s": 32.642,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.11397,
    "h": 144.1
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#418042
secondary
#A875A7
accent
#5FC7C9
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A0F09
muted
#7C7F7B

Preview Lab

Preview with #418042

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

Preview Lab → · Contrast checker → · Palette generator →

#418042 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva