#407423#407423

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

Color values

HEX#407423
RGBrgb(64, 116, 35)
HSLhsl(99, 54%, 30%)
HSVhsv(99, 70%, 45%)
CMYKcmyk(44.8%, 0%, 69.8%, 54.5%)
CIE-LABlab(43.80, -32.75, 37.87)
CIE-LCHlch(43.80, 50.07, 130.85°)
OKLaboklab(50.45% -0.0909 0.0867)
OKLCHoklch(50.45% 0.126 136.3)
XYZxyz(8.6629, 13.7016, 3.7780)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407423 #572374
analogous
#687423 #407423 #23742F
triadic
#407423 #234074 #742340
tetradic
#407423 #236874 #572374 #742F23
square
#407423 #236874 #572374 #742F23
split-complementary
#407423 #2F2374 #742368
monochromatic
#0D1807 #264515 #407423 #5AA331 #77C849

Accessibility & contrast

On white

5.61
#407423 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #407423
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407423#FFFFFF#000000##FFFFFF
##4074231.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A18
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#3E7063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407423;
/* rgb */ color: rgb(64, 116, 35);
/* oklch */ color: oklch(50.5% 0.126 136.3);
Tailwind
colors: {
  custom: {
    50: '#799c62',
    500: '#407423',
    950: '#000000',
  },
}
SCSS
$custom: #407423;
$custom-light: #799c62;
$custom-dark: #000000;
JSON
{
  "hex": "#407423",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 35
  },
  "hsl": {
    "h": 98.519,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.12562,
    "h": 136.3
  },
  "luminance": 0.13702
}

Semantic roles & 50–950 ramp

primary
#407423
secondary
#864CA7
accent
#4BDDA9
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #407423

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

Preview Lab → · Contrast checker → · Palette generator →

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