#407313#407313

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

Color values

HEX#407313
RGBrgb(64, 115, 19)
HSLhsl(92, 72%, 26%)
HSVhsv(92, 83%, 45%)
CMYKcmyk(44.3%, 0%, 83.5%, 54.9%)
CIE-LABlab(43.36, -33.47, 43.58)
CIE-LCHlch(43.36, 54.95, 127.52°)
OKLaboklab(50.05% -0.094 0.0962)
OKLCHoklch(50.05% 0.134 134.3)
XYZxyz(8.3625, 13.3980, 2.7614)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407313 #461373
analogous
#707313 #407313 #137316
triadic
#407313 #134073 #731340
tetradic
#407313 #137073 #461373 #731613
square
#407313 #137073 #461373 #731613
split-complementary
#407313 #161373 #731370
monochromatic
#0F1A04 #233E0A #407313 #5DA81C #7BDB25

Accessibility & contrast

On white

5.71
#407313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #407313
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407313#FFFFFF#000000##FFFFFF
##4073131.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#3F6E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407313;
/* rgb */ color: rgb(64, 115, 19);
/* oklch */ color: oklch(50.1% 0.134 134.3);
Tailwind
colors: {
  custom: {
    50: '#7a9c5a',
    500: '#407313',
    950: '#000000',
  },
}
SCSS
$custom: #407313;
$custom-light: #7a9c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#407313",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 91.875,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.13449,
    "h": 134.3
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#407313
secondary
#7438AA
accent
#39EE9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407313

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

Preview Lab → · Contrast checker → · Palette generator →

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