#40902A#40902A

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

Color values

HEX#40902A
RGBrgb(64, 144, 42)
HSLhsl(107, 55%, 36%)
HSVhsv(107, 71%, 56%)
CMYKcmyk(55.6%, 0%, 70.8%, 43.5%)
CIE-LABlab(53.17, -43.85, 44.78)
CIE-LCHlch(53.17, 62.67, 134.40°)
OKLaboklab(58.17% -0.1204 0.1022)
OKLCHoklch(58.17% 0.158 139.7)
XYZxyz(12.5050, 21.2027, 5.6236)
Luminance0.2120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40902A #7A2A90
analogous
#73902A #40902A #2A9047
triadic
#40902A #2A4090 #902A40
tetradic
#40902A #2A7390 #7A2A90 #90472A
square
#40902A #2A7390 #7A2A90 #90472A
split-complementary
#40902A #472A90 #902A73
monochromatic
#16310E #2B611C #40902A #55BF38 #7BD163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40902A#FFFFFF#000000##000000
##40902A1.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)
#94831B
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#378B7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #40902a;
/* rgb */ color: rgb(64, 144, 42);
/* oklch */ color: oklch(58.2% 0.158 139.7);
Tailwind
colors: {
  custom: {
    50: '#7db169',
    500: '#40902a',
    950: '#000000',
  },
}
SCSS
$custom: #40902a;
$custom-light: #7db169;
$custom-dark: #000000;
JSON
{
  "hex": "#40902a",
  "rgb": {
    "r": 64,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 107.059,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58171,
    "c": 0.15792,
    "h": 139.7
  },
  "luminance": 0.21204
}

Semantic roles & 50–950 ramp

primary
#40902A
secondary
#A45EB7
accent
#4ADEBE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #40902A

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

Preview Lab → · Contrast checker → · Palette generator →

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