#40902F#40902F

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

Color values

HEX#40902F
RGBrgb(64, 144, 47)
HSLhsl(109, 51%, 37%)
HSVhsv(109, 67%, 56%)
CMYKcmyk(55.6%, 0%, 67.4%, 43.5%)
CIE-LABlab(53.21, -43.38, 42.70)
CIE-LCHlch(53.21, 60.87, 135.45°)
OKLaboklab(58.22% -0.1188 0.0984)
OKLCHoklch(58.22% 0.154 140.4)
XYZxyz(12.6001, 21.2407, 6.1247)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40902F #7F2F90
analogous
#70902F #40902F #2F904F
triadic
#40902F #2F4090 #902F40
tetradic
#40902F #2F7090 #7F2F90 #904F2F
square
#40902F #2F7090 #7F2F90 #904F2F
split-complementary
#40902F #4F2F90 #902F70
monochromatic
#173411 #2B6220 #40902F #55BE3E #7CCF6B

Accessibility & contrast

On white

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

On black

5.25
#40902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #40902F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40902F#FFFFFF#000000##000000
##40902F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948322
Deuteranopia (green-blind)
#8A7C38
Tritanopia (blue-blind)
#378B7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40902f;
/* rgb */ color: rgb(64, 144, 47);
/* oklch */ color: oklch(58.2% 0.154 140.4);
Tailwind
colors: {
  custom: {
    50: '#7db16c',
    500: '#40902f',
    950: '#000000',
  },
}
SCSS
$custom: #40902f;
$custom-light: #7db16c;
$custom-dark: #000000;
JSON
{
  "hex": "#40902f",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 109.485,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.15431,
    "h": 140.4
  },
  "luminance": 0.21242
}

Semantic roles & 50–950 ramp

primary
#40902F
secondary
#A865B6
accent
#4EDAC2
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #40902F

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

Preview Lab → · Contrast checker → · Palette generator →

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