#40931B#40931B

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

Color values

HEX#40931B
RGBrgb(64, 147, 27)
HSLhsl(102, 69%, 34%)
HSVhsv(102, 82%, 58%)
CMYKcmyk(56.5%, 0%, 81.6%, 42.4%)
CIE-LABlab(54.06, -46.08, 51.05)
CIE-LCHlch(54.06, 68.77, 132.07°)
OKLaboklab(58.88% -0.1274 0.1131)
OKLCHoklch(58.88% 0.17 138.4)
XYZxyz(12.7454, 22.0355, 4.6183)
Luminance0.2204 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40931B #6E1B93
analogous
#7C931B #40931B #1B9332
triadic
#40931B #1B4093 #931B40
tetradic
#40931B #1B7C93 #6E1B93 #93321B
square
#40931B #1B7C93 #6E1B93 #93321B
split-complementary
#40931B #321B93 #931B7C
monochromatic
#132C08 #295F12 #40931B #57C724 #78DE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40931B#FFFFFF#000000##000000
##40931B1.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: #40931b;
/* rgb */ color: rgb(64, 147, 27);
/* oklch */ color: oklch(58.9% 0.170 138.4);
Tailwind
colors: {
  custom: {
    50: '#7fb363',
    500: '#40931b',
    950: '#000000',
  },
}
SCSS
$custom: #40931b;
$custom-light: #7fb363;
$custom-dark: #000000;
JSON
{
  "hex": "#40931b",
  "rgb": {
    "r": 64,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 101.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.17034,
    "h": 138.4
  },
  "luminance": 0.22037
}

Semantic roles & 50–950 ramp

primary
#40931B
secondary
#9B4AC0
accent
#3CECB6
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40931B

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

Preview Lab → · Contrast checker → · Palette generator →

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