#40901A#40901A

#40901A is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.1% C 0.167 H 138.1°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#40901A
RGBrgb(64, 144, 26)
HSLhsl(101, 69%, 33%)
HSVhsv(101, 82%, 56%)
CMYKcmyk(55.6%, 0%, 81.9%, 43.5%)
CIE-LABlab(53.07, -44.99, 50.43)
CIE-LCHlch(53.07, 67.58, 131.74°)
OKLaboklab(58.06% -0.1245 0.1117)
OKLCHoklch(58.06% 0.167 138.1)
XYZxyz(12.2736, 21.1101, 4.4050)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40901A #6A1A90
analogous
#7B901A #40901A #1A902F
triadic
#40901A #1A4090 #901A40
tetradic
#40901A #1A7B90 #6A1A90 #902F1A
square
#40901A #1A7B90 #6A1A90 #902F1A
split-complementary
#40901A #2F1A90 #901A7B
monochromatic
#122807 #295C11 #40901A #57C423 #77DE47

Accessibility & contrast

On white

4.02
#40901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#40901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40901A
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40901A#FFFFFF#000000##000000
##40901A1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#398B7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40901a;
/* rgb */ color: rgb(64, 144, 26);
/* oklch */ color: oklch(58.1% 0.167 138.1);
Tailwind
colors: {
  custom: {
    50: '#7eb162',
    500: '#40901a',
    950: '#000000',
  },
}
SCSS
$custom: #40901a;
$custom-light: #7eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#40901a",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 100.678,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.16724,
    "h": 138.1
  },
  "luminance": 0.21111
}

Semantic roles & 50–950 ramp

primary
#40901A
secondary
#9847BF
accent
#3CECB3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1105
muted
#7C807A

Preview Lab

Preview with #40901A

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

Preview Lab → · Contrast checker → · Palette generator →

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