#418228#418228

#418228 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.4% C 0.140 H 138.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#418228
RGBrgb(65, 130, 40)
HSLhsl(103, 53%, 33%)
HSVhsv(103, 69%, 51%)
CMYKcmyk(50%, 0%, 69.2%, 49%)
CIE-LABlab(48.56, -38.03, 40.76)
CIE-LCHlch(48.56, 55.75, 133.01°)
OKLaboklab(54.38% -0.1049 0.0935)
OKLCHoklch(54.38% 0.14 138.3)
XYZxyz(10.5452, 17.2415, 4.7794)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418228 #692882
analogous
#6E8228 #418228 #28823C
triadic
#418228 #284182 #822841
tetradic
#418228 #286E82 #692882 #823C28
square
#418228 #286E82 #692882 #823C28
split-complementary
#418228 #3C2882 #82286E
monochromatic
#12240B #2A531A #418228 #58B136 #79CC59

Accessibility & contrast

On white

4.72
#418228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#418228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418228
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418228#FFFFFF#000000##FFFFFF
##4182281.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86771C
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#3C7D70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #418228;
/* rgb */ color: rgb(65, 130, 40);
/* oklch */ color: oklch(54.4% 0.140 138.3);
Tailwind
colors: {
  custom: {
    50: '#7ca767',
    500: '#418228',
    950: '#000000',
  },
}
SCSS
$custom: #418228;
$custom-light: #7ca767;
$custom-dark: #000000;
JSON
{
  "hex": "#418228",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 103.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.14049,
    "h": 138.3
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#418228
secondary
#9755B1
accent
#4BDCB4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F06
muted
#7C7F7A

Preview Lab

Preview with #418228

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

Preview Lab → · Contrast checker → · Palette generator →

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