#40981E#40981E

#40981E is a mid, vivid green. Relative luminance 0.236; OKLCH L 60.3% C 0.175 H 138.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#40981E
RGBrgb(64, 152, 30)
HSLhsl(103, 67%, 36%)
HSVhsv(103, 80%, 60%)
CMYKcmyk(57.9%, 0%, 80.3%, 40.4%)
CIE-LABlab(55.72, -47.79, 51.68)
CIE-LCHlch(55.72, 70.39, 132.76°)
OKLaboklab(60.25% -0.1318 0.1149)
OKLCHoklch(60.25% 0.175 138.9)
XYZxyz(13.5764, 23.6390, 5.0754)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40981E #761E98
analogous
#7D981E #40981E #1E9839
triadic
#40981E #1E4098 #981E40
tetradic
#40981E #1E7D98 #761E98 #98391E
square
#40981E #1E7D98 #761E98 #98391E
split-complementary
#40981E #391E98 #981E7D
monochromatic
#15320A #2A6514 #40981E #56CB28 #7ADD53

Accessibility & contrast

On white

3.67
#40981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#40981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40981E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40981E#FFFFFF#000000##000000
##40981E1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#379381
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40981e;
/* rgb */ color: rgb(64, 152, 30);
/* oklch */ color: oklch(60.3% 0.175 138.9);
Tailwind
colors: {
  custom: {
    50: '#7fb765',
    500: '#40981e',
    950: '#000000',
  },
}
SCSS
$custom: #40981e;
$custom-light: #7fb765;
$custom-dark: #000000;
JSON
{
  "hex": "#40981e",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 103.279,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60254,
    "c": 0.17484,
    "h": 138.9
  },
  "luminance": 0.2364
}

Semantic roles & 50–950 ramp

primary
#40981E
secondary
#A151C0
accent
#3EEABA
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40981E

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

Preview Lab → · Contrast checker → · Palette generator →

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