#40892B#40892B

#40892B is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.3% C 0.148 H 139.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#40892B
RGBrgb(64, 137, 43)
HSLhsl(107, 52%, 35%)
HSVhsv(107, 69%, 54%)
CMYKcmyk(53.3%, 0%, 68.6%, 46.3%)
CIE-LABlab(50.87, -40.96, 41.92)
CIE-LCHlch(50.87, 58.60, 134.34°)
OKLaboklab(56.28% -0.1125 0.0963)
OKLCHoklch(56.28% 0.148 139.5)
XYZxyz(11.4956, 19.1548, 5.3765)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40892B #742B89
analogous
#6F892B #40892B #2B8945
triadic
#40892B #2B4089 #892B40
tetradic
#40892B #2B6F89 #742B89 #89452B
square
#40892B #2B6F89 #742B89 #89452B
split-complementary
#40892B #452B89 #892B6F
monochromatic
#142C0E #2A5A1C #40892B #56B83A #79CD61

Accessibility & contrast

On white

4.35
#40892B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#40892B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40892B
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40892B#FFFFFF#000000##000000
##40892B1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1E
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#398476
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #40892b;
/* rgb */ color: rgb(64, 137, 43);
/* oklch */ color: oklch(56.3% 0.148 139.5);
Tailwind
colors: {
  custom: {
    50: '#7cac69',
    500: '#40892b',
    950: '#000000',
  },
}
SCSS
$custom: #40892b;
$custom-light: #7cac69;
$custom-dark: #000000;
JSON
{
  "hex": "#40892b",
  "rgb": {
    "r": 64,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 106.596,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56277,
    "c": 0.1481,
    "h": 139.5
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#40892B
secondary
#A05CB3
accent
#4CDCBC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #40892B

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

Preview Lab → · Contrast checker → · Palette generator →

#40892B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva