#407320#407320

#407320 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.1% C 0.126 H 135.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#407320
RGBrgb(64, 115, 32)
HSLhsl(97, 56%, 29%)
HSVhsv(97, 72%, 45%)
CMYKcmyk(44.3%, 0%, 72.2%, 54.9%)
CIE-LABlab(43.44, -32.57, 38.80)
CIE-LCHlch(43.44, 50.66, 130.01°)
OKLaboklab(50.15% -0.0906 0.0883)
OKLCHoklch(50.15% 0.126 135.8)
XYZxyz(8.5056, 13.4553, 3.5152)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407320 #532073
analogous
#6A7320 #407320 #207329
triadic
#407320 #204073 #732040
tetradic
#407320 #206A73 #532073 #732920
square
#407320 #206A73 #532073 #732920
split-complementary
#407320 #292073 #73206A
monochromatic
#0D1807 #254313 #407320 #5BA32D #77CB43

Accessibility & contrast

On white

5.69
#407320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#407320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407320
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407320#FFFFFF#000000##FFFFFF
##4073201.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#3E6F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407320;
/* rgb */ color: rgb(64, 115, 32);
/* oklch */ color: oklch(50.1% 0.126 135.8);
Tailwind
colors: {
  custom: {
    50: '#799c61',
    500: '#407320',
    950: '#000000',
  },
}
SCSS
$custom: #407320;
$custom-light: #799c61;
$custom-dark: #000000;
JSON
{
  "hex": "#407320",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 96.867,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.12648,
    "h": 135.8
  },
  "luminance": 0.13456
}

Semantic roles & 50–950 ramp

primary
#407320
secondary
#8248A7
accent
#48E0A5
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #407320

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

Preview Lab → · Contrast checker → · Palette generator →

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