#40921F#40921F

#40921F is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.6% C 0.167 H 138.6°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#40921F
RGBrgb(64, 146, 31)
HSLhsl(103, 65%, 35%)
HSVhsv(103, 79%, 57%)
CMYKcmyk(56.2%, 0%, 78.8%, 42.7%)
CIE-LABlab(53.76, -45.46, 49.48)
CIE-LCHlch(53.76, 67.19, 132.57°)
OKLaboklab(58.63% -0.1255 0.1104)
OKLCHoklch(58.63% 0.167 138.6)
XYZxyz(12.6401, 21.7457, 4.8273)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40921F #711F92
analogous
#79921F #40921F #1F9238
triadic
#40921F #1F4092 #921F40
tetradic
#40921F #1F7992 #711F92 #92381F
square
#40921F #1F7992 #711F92 #92381F
split-complementary
#40921F #381F92 #921F79
monochromatic
#142D0A #2A6014 #40921F #56C42A #79DA51

Accessibility & contrast

On white

3.93
#40921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#40921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40921F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40921F#FFFFFF#000000##000000
##40921F1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#388D7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40921f;
/* rgb */ color: rgb(64, 146, 31);
/* oklch */ color: oklch(58.6% 0.167 138.6);
Tailwind
colors: {
  custom: {
    50: '#7eb364',
    500: '#40921f',
    950: '#000000',
  },
}
SCSS
$custom: #40921f;
$custom-light: #7eb364;
$custom-dark: #000000;
JSON
{
  "hex": "#40921f",
  "rgb": {
    "r": 64,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 102.783,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.16714,
    "h": 138.6
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #40921F

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

Preview Lab → · Contrast checker → · Palette generator →

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