#40902C#40902C

#40902C is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.2% C 0.157 H 140.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#40902C
RGBrgb(64, 144, 44)
HSLhsl(108, 53%, 37%)
HSVhsv(108, 69%, 56%)
CMYKcmyk(55.6%, 0%, 69.4%, 43.5%)
CIE-LABlab(53.19, -43.67, 43.96)
CIE-LCHlch(53.19, 61.96, 134.81°)
OKLaboklab(58.19% -0.1198 0.1007)
OKLCHoklch(58.19% 0.157 140)
XYZxyz(12.5417, 21.2173, 5.8168)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40902C #7C2C90
analogous
#72902C #40902C #2C904A
triadic
#40902C #2C4090 #902C40
tetradic
#40902C #2C7290 #7C2C90 #904A2C
square
#40902C #2C7290 #7C2C90 #904A2C
split-complementary
#40902C #4A2C90 #902C72
monochromatic
#16320F #2B611E #40902C #55BF3A #7BD066

Accessibility & contrast

On white

4.00
#40902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#40902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40902C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40902C#FFFFFF#000000##000000
##40902C1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831E
Deuteranopia (green-blind)
#8A7C35
Tritanopia (blue-blind)
#378B7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40902c;
/* rgb */ color: rgb(64, 144, 44);
/* oklch */ color: oklch(58.2% 0.157 140.0);
Tailwind
colors: {
  custom: {
    50: '#7db16b',
    500: '#40902c',
    950: '#000000',
  },
}
SCSS
$custom: #40902c;
$custom-light: #7db16b;
$custom-dark: #000000;
JSON
{
  "hex": "#40902c",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 108,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.15651,
    "h": 140
  },
  "luminance": 0.21218
}

Semantic roles & 50–950 ramp

primary
#40902C
secondary
#A661B7
accent
#4BDDC0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #40902C

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

Preview Lab → · Contrast checker → · Palette generator →

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