#40931C#40931C

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

Color values

HEX#40931C
RGBrgb(64, 147, 28)
HSLhsl(102, 68%, 34%)
HSVhsv(102, 81%, 58%)
CMYKcmyk(56.5%, 0%, 81%, 42.4%)
CIE-LABlab(54.07, -46.02, 50.75)
CIE-LCHlch(54.07, 68.51, 132.20°)
OKLaboklab(58.88% -0.1272 0.1126)
OKLCHoklch(58.88% 0.17 138.5)
XYZxyz(12.7572, 22.0402, 4.6803)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40931C #6F1C93
analogous
#7C931C #40931C #1C9334
triadic
#40931C #1C4093 #931C40
tetradic
#40931C #1C7C93 #6F1C93 #93341C
square
#40931C #1C7C93 #6F1C93 #93341C
split-complementary
#40931C #341C93 #931C7C
monochromatic
#132C08 #2A6012 #40931C #56C626 #78DD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40931C#FFFFFF#000000##000000
##40931C1.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)
#8D7F2A
Tritanopia (blue-blind)
#388E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #40931c;
/* rgb */ color: rgb(64, 147, 28);
/* oklch */ color: oklch(58.9% 0.170 138.5);
Tailwind
colors: {
  custom: {
    50: '#7fb363',
    500: '#40931c',
    950: '#000000',
  },
}
SCSS
$custom: #40931c;
$custom-light: #7fb363;
$custom-dark: #000000;
JSON
{
  "hex": "#40931c",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 101.849,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58884,
    "c": 0.16987,
    "h": 138.5
  },
  "luminance": 0.22041
}

Semantic roles & 50–950 ramp

primary
#40931C
secondary
#9C4CBF
accent
#3DEBB6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40931C

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

Preview Lab → · Contrast checker → · Palette generator →

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