#407D33#407D33

#407D33 is a mid, vivid green. Relative luminance 0.160; OKLCH L 53.1% C 0.125 H 140.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#407D33
RGBrgb(64, 125, 51)
HSLhsl(109, 42%, 35%)
HSVhsv(109, 59%, 49%)
CMYKcmyk(48.8%, 0%, 59.2%, 51%)
CIE-LABlab(46.97, -35.02, 33.80)
CIE-LCHlch(46.97, 48.67, 136.02°)
OKLaboklab(53.1% -0.0959 0.0798)
OKLCHoklch(53.1% 0.125 140.2)
XYZxyz(10.0451, 15.9955, 5.6895)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407D33 #70337D
analogous
#657D33 #407D33 #337D4B
triadic
#407D33 #33407D #7D3340
tetradic
#407D33 #33657D #70337D #7D4B33
square
#407D33 #33657D #70337D #7D4B33
split-complementary
#407D33 #4B337D #7D3365
monochromatic
#132610 #2A5221 #407D33 #56A845 #78C269

Accessibility & contrast

On white

5.00
#407D33 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#407D33 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407D33
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407D33#FFFFFF#000000##FFFFFF
##407D331.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80732C
Deuteranopia (green-blind)
#786D39
Tritanopia (blue-blind)
#3A796D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #407d33;
/* rgb */ color: rgb(64, 125, 51);
/* oklch */ color: oklch(53.1% 0.125 140.2);
Tailwind
colors: {
  custom: {
    50: '#7aa36d',
    500: '#407d33',
    950: '#000000',
  },
}
SCSS
$custom: #407d33;
$custom-light: #7aa36d;
$custom-dark: #000000;
JSON
{
  "hex": "#407d33",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 51
  },
  "hsl": {
    "h": 109.459,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.531,
    "c": 0.12477,
    "h": 140.2
  },
  "luminance": 0.15996
}

Semantic roles & 50–950 ramp

primary
#407D33
secondary
#9D62AA
accent
#56D2BC
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #407D33

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

Preview Lab → · Contrast checker → · Palette generator →

#407D33 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva