#418231#418231

#418231 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.5% C 0.133 H 139.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#418231
RGBrgb(65, 130, 49)
HSLhsl(108, 45%, 35%)
HSVhsv(108, 62%, 51%)
CMYKcmyk(50%, 0%, 62.3%, 49%)
CIE-LABlab(48.65, -37.11, 36.73)
CIE-LCHlch(48.65, 52.21, 135.29°)
OKLaboklab(54.48% -0.1017 0.0859)
OKLCHoklch(54.48% 0.133 139.8)
XYZxyz(10.7166, 17.3101, 5.6816)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#418231 #723182
analogous
#698231 #418231 #318249
triadic
#418231 #314182 #823141
tetradic
#418231 #316982 #723182 #824931
square
#418231 #316982 #723182 #824931
split-complementary
#418231 #493182 #823169
monochromatic
#15290F #2B5620 #418231 #57AE42 #7AC668

Accessibility & contrast

On white

4.71
#418231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#418231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #418231
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##418231#FFFFFF#000000##FFFFFF
##4182311.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867728
Deuteranopia (green-blind)
#7D7137
Tritanopia (blue-blind)
#3B7E71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #418231;
/* rgb */ color: rgb(65, 130, 49);
/* oklch */ color: oklch(54.5% 0.133 139.8);
Tailwind
colors: {
  custom: {
    50: '#7ba76c',
    500: '#418231',
    950: '#000000',
  },
}
SCSS
$custom: #418231;
$custom-light: #7ba76c;
$custom-dark: #000000;
JSON
{
  "hex": "#418231",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 108.148,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54483,
    "c": 0.13319,
    "h": 139.8
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#418231
secondary
#9E62AD
accent
#53D5BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #418231

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

Preview Lab → · Contrast checker → · Palette generator →

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