#40902B#40902B

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

Color values

HEX#40902B
RGBrgb(64, 144, 43)
HSLhsl(108, 54%, 37%)
HSVhsv(108, 70%, 56%)
CMYKcmyk(55.6%, 0%, 70.1%, 43.5%)
CIE-LABlab(53.18, -43.76, 44.37)
CIE-LCHlch(53.18, 62.32, 134.60°)
OKLaboklab(58.18% -0.1201 0.1014)
OKLCHoklch(58.18% 0.157 139.8)
XYZxyz(12.5231, 21.2099, 5.7190)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40902B #7B2B90
analogous
#73902B #40902B #2B9049
triadic
#40902B #2B4090 #902B40
tetradic
#40902B #2B7390 #7B2B90 #90492B
square
#40902B #2B7390 #7B2B90 #90492B
split-complementary
#40902B #492B90 #902B73
monochromatic
#16320F #2B611D #40902B #55BF39 #7BD165

Accessibility & contrast

On white

4.01
#40902B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##40902B#FFFFFF#000000##000000
##40902B1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40902b;
/* rgb */ color: rgb(64, 144, 43);
/* oklch */ color: oklch(58.2% 0.157 139.8);
Tailwind
colors: {
  custom: {
    50: '#7db16a',
    500: '#40902b',
    950: '#000000',
  },
}
SCSS
$custom: #40902b;
$custom-light: #7db16a;
$custom-dark: #000000;
JSON
{
  "hex": "#40902b",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 107.525,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5818,
    "c": 0.15722,
    "h": 139.8
  },
  "luminance": 0.21211
}

Semantic roles & 50–950 ramp

primary
#40902B
secondary
#A560B7
accent
#4ADDBF
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #40902B

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

Preview Lab → · Contrast checker → · Palette generator →

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