#417231#417231

#417231 is a mid, moderate green. Relative luminance 0.134; OKLCH L 50.1% C 0.110 H 138.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#417231
RGBrgb(65, 114, 49)
HSLhsl(105, 40%, 32%)
HSVhsv(105, 57%, 45%)
CMYKcmyk(43%, 0%, 57%, 55.3%)
CIE-LABlab(43.33, -29.95, 30.55)
CIE-LCHlch(43.33, 42.78, 134.44°)
OKLaboklab(50.13% -0.0823 0.0726)
OKLCHoklch(50.13% 0.11 138.6)
XYZxyz(8.7514, 13.3797, 5.0265)
Luminance0.1338 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#417231 #623172
analogous
#627231 #417231 #317242
triadic
#417231 #314172 #723141
tetradic
#417231 #316272 #623172 #724231
square
#417231 #316272 #623172 #724231
split-complementary
#417231 #423172 #723162
monochromatic
#101C0C #29471F #417231 #599D43 #78BB62

Accessibility & contrast

On white

5.71
#417231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#417231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #417231
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##417231#FFFFFF#000000##FFFFFF
##4172311.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6E6536
Tritanopia (blue-blind)
#3E6E63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #417231;
/* rgb */ color: rgb(65, 114, 49);
/* oklch */ color: oklch(50.1% 0.110 138.6);
Tailwind
colors: {
  custom: {
    50: '#799b6b',
    500: '#417231',
    950: '#000000',
  },
}
SCSS
$custom: #417231;
$custom-light: #799b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#417231",
  "rgb": {
    "r": 65,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 105.231,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.10972,
    "h": 138.6
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#417231
secondary
#915CA3
accent
#58D0B2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #417231

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

Preview Lab → · Contrast checker → · Palette generator →

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