#40931F#40931F

#40931F is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.9% C 0.168 H 138.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#40931F
RGBrgb(64, 147, 31)
HSLhsl(103, 65%, 35%)
HSVhsv(103, 79%, 58%)
CMYKcmyk(56.5%, 0%, 78.9%, 42.4%)
CIE-LABlab(54.09, -45.84, 49.80)
CIE-LCHlch(54.09, 67.69, 132.63°)
OKLaboklab(58.9% -0.1265 0.1111)
OKLCHoklch(58.9% 0.168 138.7)
XYZxyz(12.7949, 22.0553, 4.8789)
Luminance0.2206 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40931F #721F93
analogous
#7A931F #40931F #1F9338
triadic
#40931F #1F4093 #931F40
tetradic
#40931F #1F7A93 #721F93 #93381F
square
#40931F #1F7A93 #721F93 #93381F
split-complementary
#40931F #381F93 #931F7A
monochromatic
#142E0A #2A6014 #40931F #56C62A #79DA52

Accessibility & contrast

On white

3.88
#40931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#40931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40931F
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40931F#FFFFFF#000000##000000
##40931F1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988601
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#388E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #40931f;
/* rgb */ color: rgb(64, 147, 31);
/* oklch */ color: oklch(58.9% 0.168 138.7);
Tailwind
colors: {
  custom: {
    50: '#7eb364',
    500: '#40931f',
    950: '#000000',
  },
}
SCSS
$custom: #40931f;
$custom-light: #7eb364;
$custom-dark: #000000;
JSON
{
  "hex": "#40931f",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 102.931,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.16835,
    "h": 138.7
  },
  "luminance": 0.22056
}

Semantic roles & 50–950 ramp

primary
#40931F
secondary
#9F50BE
accent
#40E8B8
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40931F

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

Preview Lab → · Contrast checker → · Palette generator →

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