#40921B#40921B

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

Color values

HEX#40921B
RGBrgb(64, 146, 27)
HSLhsl(101, 69%, 34%)
HSVhsv(101, 82%, 57%)
CMYKcmyk(56.2%, 0%, 81.5%, 42.7%)
CIE-LABlab(53.73, -45.70, 50.74)
CIE-LCHlch(53.73, 68.29, 132.01°)
OKLaboklab(58.61% -0.1263 0.1125)
OKLCHoklch(58.61% 0.169 138.3)
XYZxyz(12.5906, 21.7259, 4.5667)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40921B #6D1B92
analogous
#7C921B #40921B #1B9232
triadic
#40921B #1B4092 #921B40
tetradic
#40921B #1B7C92 #6D1B92 #92321B
square
#40921B #1B7C92 #6D1B92 #92321B
split-complementary
#40921B #321B92 #921B7C
monochromatic
#132B08 #295E11 #40921B #57C625 #78DE4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40921B#FFFFFF#000000##000000
##40921B1.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)
#978500
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#398D7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #40921b;
/* rgb */ color: rgb(64, 146, 27);
/* oklch */ color: oklch(58.6% 0.169 138.3);
Tailwind
colors: {
  custom: {
    50: '#7eb362',
    500: '#40921b',
    950: '#000000',
  },
}
SCSS
$custom: #40921b;
$custom-light: #7eb362;
$custom-dark: #000000;
JSON
{
  "hex": "#40921b",
  "rgb": {
    "r": 64,
    "g": 146,
    "b": 27
  },
  "hsl": {
    "h": 101.345,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.16916,
    "h": 138.3
  },
  "luminance": 0.21727
}

Semantic roles & 50–950 ramp

primary
#40921B
secondary
#9B49BF
accent
#3CECB5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40921B

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

Preview Lab → · Contrast checker → · Palette generator →

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