#407422#407422

#407422 is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.126 H 136.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#407422
RGBrgb(64, 116, 34)
HSLhsl(98, 55%, 29%)
HSVhsv(98, 71%, 45%)
CMYKcmyk(44.8%, 0%, 70.7%, 54.5%)
CIE-LABlab(43.79, -32.84, 38.31)
CIE-LCHlch(43.79, 50.46, 130.61°)
OKLaboklab(50.44% -0.0912 0.0875)
OKLCHoklch(50.44% 0.126 136.2)
XYZxyz(8.6482, 13.6958, 3.7009)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407422 #562274
analogous
#697422 #407422 #22742D
triadic
#407422 #224074 #742240
tetradic
#407422 #226974 #562274 #742D22
square
#407422 #226974 #562274 #742D22
split-complementary
#407422 #2D2274 #742269
monochromatic
#0D1807 #264514 #407422 #5AA330 #77C947

Accessibility & contrast

On white

5.62
#407422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#407422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407422
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407422#FFFFFF#000000##FFFFFF
##4074221.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A16
Deuteranopia (green-blind)
#716629
Tritanopia (blue-blind)
#3E7063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407422;
/* rgb */ color: rgb(64, 116, 34);
/* oklch */ color: oklch(50.4% 0.126 136.2);
Tailwind
colors: {
  custom: {
    50: '#7a9c62',
    500: '#407422',
    950: '#000000',
  },
}
SCSS
$custom: #407422;
$custom-light: #7a9c62;
$custom-dark: #000000;
JSON
{
  "hex": "#407422",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 98.049,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50444,
    "c": 0.12638,
    "h": 136.2
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#407422
secondary
#854BA7
accent
#4ADEA8
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #407422

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

Preview Lab → · Contrast checker → · Palette generator →

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