#40921A#40921A

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

Color values

HEX#40921A
RGBrgb(64, 146, 26)
HSLhsl(101, 70%, 34%)
HSVhsv(101, 82%, 57%)
CMYKcmyk(56.2%, 0%, 82.2%, 42.7%)
CIE-LABlab(53.73, -45.76, 51.04)
CIE-LCHlch(53.73, 68.55, 131.87°)
OKLaboklab(58.6% -0.1265 0.113)
OKLCHoklch(58.6% 0.17 138.2)
XYZxyz(12.5792, 21.7213, 4.5068)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40921A #6C1A92
analogous
#7C921A #40921A #1A9230
triadic
#40921A #1A4092 #921A40
tetradic
#40921A #1A7C92 #6C1A92 #92301A
square
#40921A #1A7C92 #6C1A92 #92301A
split-complementary
#40921A #301A92 #921A7C
monochromatic
#122A07 #295E11 #40921A #57C623 #78DE48

Accessibility & contrast

On white

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

On black

5.34
#40921A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40921A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40921A#FFFFFF#000000##000000
##40921A1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.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: #40921a;
/* rgb */ color: rgb(64, 146, 26);
/* oklch */ color: oklch(58.6% 0.170 138.2);
Tailwind
colors: {
  custom: {
    50: '#7eb362',
    500: '#40921a',
    950: '#000000',
  },
}
SCSS
$custom: #40921a;
$custom-light: #7eb362;
$custom-dark: #000000;
JSON
{
  "hex": "#40921a",
  "rgb": {
    "r": 64,
    "g": 146,
    "b": 26
  },
  "hsl": {
    "h": 101,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58601,
    "c": 0.16962,
    "h": 138.2
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#40921A
secondary
#9A48C0
accent
#3BEDB4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40921A

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

Preview Lab → · Contrast checker → · Palette generator →

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