#40981D#40981D

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

Color values

HEX#40981D
RGBrgb(64, 152, 29)
HSLhsl(103, 68%, 35%)
HSVhsv(103, 81%, 60%)
CMYKcmyk(57.9%, 0%, 80.9%, 40.4%)
CIE-LABlab(55.72, -47.85, 51.99)
CIE-LCHlch(55.72, 70.66, 132.62°)
OKLaboklab(60.25% -0.132 0.1154)
OKLCHoklch(60.25% 0.175 138.8)
XYZxyz(13.5638, 23.6340, 5.0092)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40981D #751D98
analogous
#7D981D #40981D #1D9837
triadic
#40981D #1D4098 #981D40
tetradic
#40981D #1D7D98 #751D98 #98371D
square
#40981D #1D7D98 #751D98 #98371D
split-complementary
#40981D #371D98 #981D7D
monochromatic
#153109 #2A6513 #40981D #56CB27 #79DE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40981D#FFFFFF#000000##000000
##40981D1.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: #40981d;
/* rgb */ color: rgb(64, 152, 29);
/* oklch */ color: oklch(60.2% 0.175 138.8);
Tailwind
colors: {
  custom: {
    50: '#7fb764',
    500: '#40981d',
    950: '#000000',
  },
}
SCSS
$custom: #40981d;
$custom-light: #7fb764;
$custom-dark: #000000;
JSON
{
  "hex": "#40981d",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 102.927,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60248,
    "c": 0.17532,
    "h": 138.8
  },
  "luminance": 0.23635
}

Semantic roles & 50–950 ramp

primary
#40981D
secondary
#A150C1
accent
#3DEBB9
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40981D

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

Preview Lab → · Contrast checker → · Palette generator →

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