#40981C#40981C

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

Color values

HEX#40981C
RGBrgb(64, 152, 28)
HSLhsl(103, 69%, 35%)
HSVhsv(103, 82%, 60%)
CMYKcmyk(57.9%, 0%, 81.6%, 40.4%)
CIE-LABlab(55.71, -47.91, 52.29)
CIE-LCHlch(55.71, 70.92, 132.49°)
OKLaboklab(60.24% -0.1322 0.1159)
OKLCHoklch(60.24% 0.176 138.8)
XYZxyz(13.5517, 23.6291, 4.9451)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40981C #741C98
analogous
#7E981C #40981C #1C9836
triadic
#40981C #1C4098 #981C40
tetradic
#40981C #1C7E98 #741C98 #98361C
square
#40981C #1C7E98 #741C98 #98361C
split-complementary
#40981C #361C98 #981C7E
monochromatic
#143109 #2A6412 #40981C #56CC26 #79DF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40981C#FFFFFF#000000##000000
##40981C1.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)
#92832B
Tritanopia (blue-blind)
#379381
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #40981c;
/* rgb */ color: rgb(64, 152, 28);
/* oklch */ color: oklch(60.2% 0.176 138.8);
Tailwind
colors: {
  custom: {
    50: '#7fb764',
    500: '#40981c',
    950: '#000000',
  },
}
SCSS
$custom: #40981c;
$custom-light: #7fb764;
$custom-dark: #000000;
JSON
{
  "hex": "#40981c",
  "rgb": {
    "r": 64,
    "g": 152,
    "b": 28
  },
  "hsl": {
    "h": 102.581,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60242,
    "c": 0.17579,
    "h": 138.8
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#40981C
secondary
#A04EC1
accent
#3CECB9
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40981C

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

Preview Lab → · Contrast checker → · Palette generator →

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