#407225#407225

#407225 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 49.9% C 0.121 H 136.4°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#407225
RGBrgb(64, 114, 37)
HSLhsl(99, 51%, 30%)
HSVhsv(99, 68%, 45%)
CMYKcmyk(43.9%, 0%, 67.5%, 55.3%)
CIE-LABlab(43.15, -31.66, 36.26)
CIE-LCHlch(43.15, 48.14, 131.12°)
OKLaboklab(49.92% -0.0877 0.0836)
OKLCHoklch(49.92% 0.121 136.4)
XYZxyz(8.4654, 13.2577, 3.8628)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407225 #572572
analogous
#677225 #407225 #257231
triadic
#407225 #254072 #722540
tetradic
#407225 #256772 #572572 #723125
square
#407225 #256772 #572572 #723125
split-complementary
#407225 #312572 #722567
monochromatic
#0D1707 #264416 #407225 #5AA034 #77C54C

Accessibility & contrast

On white

5.75
#407225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#407225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407225
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407225#FFFFFF#000000##FFFFFF
##4072251.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691B
Deuteranopia (green-blind)
#6F642B
Tritanopia (blue-blind)
#3E6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407225;
/* rgb */ color: rgb(64, 114, 37);
/* oklch */ color: oklch(49.9% 0.121 136.4);
Tailwind
colors: {
  custom: {
    50: '#799b63',
    500: '#407225',
    950: '#000000',
  },
}
SCSS
$custom: #407225;
$custom-light: #799b63;
$custom-dark: #000000;
JSON
{
  "hex": "#407225",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 98.961,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.12118,
    "h": 136.4
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#407225
secondary
#864EA5
accent
#4DDAA9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #407225

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

Preview Lab → · Contrast checker → · Palette generator →

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