#40931A#40931A

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

Color values

HEX#40931A
RGBrgb(64, 147, 26)
HSLhsl(101, 70%, 34%)
HSVhsv(101, 82%, 58%)
CMYKcmyk(56.5%, 0%, 82.3%, 42.4%)
CIE-LABlab(54.06, -46.14, 51.35)
CIE-LCHlch(54.06, 69.03, 131.94°)
OKLaboklab(58.87% -0.1276 0.1136)
OKLCHoklch(58.87% 0.171 138.3)
XYZxyz(12.7341, 22.0310, 4.5584)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40931A #6D1A93
analogous
#7D931A #40931A #1A9331
triadic
#40931A #1A4093 #931A40
tetradic
#40931A #1A7D93 #6D1A93 #93311A
square
#40931A #1A7D93 #6D1A93 #93311A
split-complementary
#40931A #311A93 #931A7D
monochromatic
#132B08 #295F11 #40931A #57C723 #78DF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40931A#FFFFFF#000000##000000
##40931A1.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)
#988500
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#388E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #40931a;
/* rgb */ color: rgb(64, 147, 26);
/* oklch */ color: oklch(58.9% 0.171 138.3);
Tailwind
colors: {
  custom: {
    50: '#7fb362',
    500: '#40931a',
    950: '#000000',
  },
}
SCSS
$custom: #40931a;
$custom-light: #7fb362;
$custom-dark: #000000;
JSON
{
  "hex": "#40931a",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 101.157,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58873,
    "c": 0.1708,
    "h": 138.3
  },
  "luminance": 0.22032
}

Semantic roles & 50–950 ramp

primary
#40931A
secondary
#9B48C0
accent
#3BEDB5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40931A

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

Preview Lab → · Contrast checker → · Palette generator →

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