#407319#407319

#407319 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.1% C 0.131 H 134.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#407319
RGBrgb(64, 115, 25)
HSLhsl(94, 64%, 27%)
HSVhsv(94, 78%, 45%)
CMYKcmyk(44.3%, 0%, 78.3%, 54.9%)
CIE-LABlab(43.39, -33.10, 41.55)
CIE-LCHlch(43.39, 53.12, 128.54°)
OKLaboklab(50.09% -0.0926 0.0929)
OKLCHoklch(50.09% 0.131 134.9)
XYZxyz(8.4204, 13.4212, 3.0664)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407319 #4C1973
analogous
#6D7319 #407319 #19731F
triadic
#407319 #194073 #731940
tetradic
#407319 #196D73 #4C1973 #731F19
square
#407319 #196D73 #4C1973 #731F19
split-complementary
#407319 #1F1973 #73196D
monochromatic
#0E1905 #24410E #407319 #5CA524 #79D334

Accessibility & contrast

On white

5.70
#407319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#407319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407319
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407319#FFFFFF#000000##FFFFFF
##4073191.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786906
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#3F6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407319;
/* rgb */ color: rgb(64, 115, 25);
/* oklch */ color: oklch(50.1% 0.131 134.9);
Tailwind
colors: {
  custom: {
    50: '#7a9c5d',
    500: '#407319',
    950: '#000000',
  },
}
SCSS
$custom: #407319;
$custom-light: #7a9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#407319",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 94,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50093,
    "c": 0.13118,
    "h": 134.9
  },
  "luminance": 0.13422
}

Semantic roles & 50–950 ramp

primary
#407319
secondary
#7B40A8
accent
#41E79F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407319

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

Preview Lab → · Contrast checker → · Palette generator →

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