#407224#407224

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

Color values

HEX#407224
RGBrgb(64, 114, 36)
HSLhsl(98, 52%, 29%)
HSVhsv(98, 68%, 45%)
CMYKcmyk(43.9%, 0%, 68.4%, 55.3%)
CIE-LABlab(43.14, -31.76, 36.71)
CIE-LCHlch(43.14, 48.54, 130.86°)
OKLaboklab(49.91% -0.0881 0.0844)
OKLCHoklch(49.91% 0.122 136.2)
XYZxyz(8.4499, 13.2515, 3.7813)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407224 #562472
analogous
#677224 #407224 #24722F
triadic
#407224 #244072 #722440
tetradic
#407224 #246772 #562472 #722F24
square
#407224 #246772 #562472 #722F24
split-complementary
#407224 #2F2472 #722467
monochromatic
#0D1707 #264315 #407224 #5AA133 #77C64A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407224#FFFFFF#000000##FFFFFF
##4072241.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)
#76691A
Deuteranopia (green-blind)
#6F642B
Tritanopia (blue-blind)
#3E6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407224;
/* rgb */ color: rgb(64, 114, 36);
/* oklch */ color: oklch(49.9% 0.122 136.2);
Tailwind
colors: {
  custom: {
    50: '#799b63',
    500: '#407224',
    950: '#000000',
  },
}
SCSS
$custom: #407224;
$custom-light: #799b63;
$custom-dark: #000000;
JSON
{
  "hex": "#407224",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 36
  },
  "hsl": {
    "h": 98.462,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.122,
    "h": 136.2
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#407224
secondary
#854DA5
accent
#4CDBA8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #407224

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

Preview Lab → · Contrast checker → · Palette generator →

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