#407925#407925

#407925 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.8% C 0.131 H 137.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#407925
RGBrgb(64, 121, 37)
HSLhsl(101, 53%, 31%)
HSVhsv(101, 69%, 47%)
CMYKcmyk(47.1%, 0%, 69.4%, 52.5%)
CIE-LABlab(45.49, -34.78, 38.79)
CIE-LCHlch(45.49, 52.10, 131.88°)
OKLaboklab(51.85% -0.0962 0.0889)
OKLCHoklch(51.85% 0.131 137.3)
XYZxyz(9.2854, 14.8977, 4.1362)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407925 #5E2579
analogous
#6A7925 #407925 #257934
triadic
#407925 #254079 #792540
tetradic
#407925 #256A79 #5E2579 #793425
square
#407925 #256A79 #5E2579 #793425
split-complementary
#407925 #342579 #79256A
monochromatic
#0E1B08 #274A17 #407925 #59A833 #76C94F

Accessibility & contrast

On white

5.28
#407925 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#407925 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407925
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407925#FFFFFF#000000##FFFFFF
##4079251.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1A
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#3D7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #407925;
/* rgb */ color: rgb(64, 121, 37);
/* oklch */ color: oklch(51.8% 0.131 137.3);
Tailwind
colors: {
  custom: {
    50: '#7aa064',
    500: '#407925',
    950: '#000000',
  },
}
SCSS
$custom: #407925;
$custom-light: #7aa064;
$custom-dark: #000000;
JSON
{
  "hex": "#407925",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 37
  },
  "hsl": {
    "h": 100.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51846,
    "c": 0.13102,
    "h": 137.3
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#407925
secondary
#8D4EAB
accent
#4BDDAE
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #407925

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

Preview Lab → · Contrast checker → · Palette generator →

#407925 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva