#40901E#40901E

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

Color values

HEX#40901E
RGBrgb(64, 144, 30)
HSLhsl(102, 66%, 34%)
HSVhsv(102, 79%, 56%)
CMYKcmyk(55.6%, 0%, 79.2%, 43.5%)
CIE-LABlab(53.09, -44.75, 49.18)
CIE-LCHlch(53.09, 66.49, 132.30°)
OKLaboklab(58.08% -0.1236 0.1097)
OKLCHoklch(58.08% 0.165 138.4)
XYZxyz(12.3215, 21.1293, 4.6571)
Luminance0.2113 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40901E #6E1E90
analogous
#79901E #40901E #1E9035
triadic
#40901E #1E4090 #901E40
tetradic
#40901E #1E7990 #6E1E90 #90351E
square
#40901E #1E7990 #6E1E90 #90351E
split-complementary
#40901E #351E90 #901E79
monochromatic
#132B09 #295D13 #40901E #57C329 #78DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40901E#FFFFFF#000000##000000
##40901E1.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)
#958300
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#398B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40901e;
/* rgb */ color: rgb(64, 144, 30);
/* oklch */ color: oklch(58.1% 0.165 138.4);
Tailwind
colors: {
  custom: {
    50: '#7eb163',
    500: '#40901e',
    950: '#000000',
  },
}
SCSS
$custom: #40901e;
$custom-light: #7eb163;
$custom-dark: #000000;
JSON
{
  "hex": "#40901e",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 102.105,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.16524,
    "h": 138.4
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#40901E
secondary
#9B4DBD
accent
#3FE8B6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40901E

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

Preview Lab → · Contrast checker → · Palette generator →

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