#40901C#40901C

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

Color values

HEX#40901C
RGBrgb(64, 144, 28)
HSLhsl(101, 67%, 34%)
HSVhsv(101, 81%, 56%)
CMYKcmyk(55.6%, 0%, 80.6%, 43.5%)
CIE-LABlab(53.08, -44.87, 49.82)
CIE-LCHlch(53.08, 67.05, 132.01°)
OKLaboklab(58.07% -0.1241 0.1107)
OKLCHoklch(58.07% 0.166 138.3)
XYZxyz(12.2968, 21.1194, 4.5268)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40901C #6C1C90
analogous
#7A901C #40901C #1C9032
triadic
#40901C #1C4090 #901C40
tetradic
#40901C #1C7A90 #6C1C90 #90321C
square
#40901C #1C7A90 #6C1C90 #90321C
split-complementary
#40901C #321C90 #901C7A
monochromatic
#122A08 #295D12 #40901C #57C326 #78DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40901C#FFFFFF#000000##000000
##40901C1.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)
#8B7C29
Tritanopia (blue-blind)
#398B7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40901c;
/* rgb */ color: rgb(64, 144, 28);
/* oklch */ color: oklch(58.1% 0.166 138.3);
Tailwind
colors: {
  custom: {
    50: '#7eb162',
    500: '#40901c',
    950: '#000000',
  },
}
SCSS
$custom: #40901c;
$custom-light: #7eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#40901c",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 101.379,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58067,
    "c": 0.16627,
    "h": 138.3
  },
  "luminance": 0.2112
}

Semantic roles & 50–950 ramp

primary
#40901C
secondary
#9A4ABE
accent
#3DEAB5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #40901C

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

Preview Lab → · Contrast checker → · Palette generator →

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