#40901F#40901F

#40901F is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.1% C 0.165 H 138.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#40901F
RGBrgb(64, 144, 31)
HSLhsl(102, 65%, 34%)
HSVhsv(102, 78%, 56%)
CMYKcmyk(55.6%, 0%, 78.5%, 43.5%)
CIE-LABlab(53.10, -44.69, 48.85)
CIE-LCHlch(53.10, 66.20, 132.45°)
OKLaboklab(58.09% -0.1234 0.1091)
OKLCHoklch(58.09% 0.165 138.5)
XYZxyz(12.3345, 21.1344, 4.7254)
Luminance0.2114 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40901F #6F1F90
analogous
#79901F #40901F #1F9037
triadic
#40901F #1F4090 #901F40
tetradic
#40901F #1F7990 #6F1F90 #90371F
square
#40901F #1F7990 #6F1F90 #90371F
split-complementary
#40901F #371F90 #901F79
monochromatic
#132B09 #2A5E14 #40901F #56C22A #78D950

Accessibility & contrast

On white

4.02
#40901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#40901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40901F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40901F#FFFFFF#000000##000000
##40901F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#958303
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#398B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40901f;
/* rgb */ color: rgb(64, 144, 31);
/* oklch */ color: oklch(58.1% 0.165 138.5);
Tailwind
colors: {
  custom: {
    50: '#7eb164',
    500: '#40901f',
    950: '#000000',
  },
}
SCSS
$custom: #40901f;
$custom-light: #7eb164;
$custom-dark: #000000;
JSON
{
  "hex": "#40901f",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 102.478,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58086,
    "c": 0.16471,
    "h": 138.5
  },
  "luminance": 0.21135
}

Semantic roles & 50–950 ramp

primary
#40901F
secondary
#9C4EBC
accent
#40E8B7
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40901F

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

Preview Lab → · Contrast checker → · Palette generator →

#40901F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva