#407310#407310

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

Color values

HEX#407310
RGBrgb(64, 115, 16)
HSLhsl(91, 76%, 26%)
HSVhsv(91, 86%, 45%)
CMYKcmyk(44.3%, 0%, 86.1%, 54.9%)
CIE-LABlab(43.34, -33.62, 44.47)
CIE-LCHlch(43.34, 55.74, 127.09°)
OKLaboklab(50.04% -0.0946 0.0976)
OKLCHoklch(50.04% 0.136 134.1)
XYZxyz(8.3385, 13.3884, 2.6350)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407310 #431073
analogous
#717310 #407310 #107311
triadic
#407310 #104073 #731040
tetradic
#407310 #107173 #431073 #731110
square
#407310 #107173 #431073 #731110
split-complementary
#407310 #111073 #731071
monochromatic
#0F1B04 #223D09 #407310 #5EA917 #7CDE1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407310#FFFFFF#000000##FFFFFF
##4073101.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)
#71651C
Tritanopia (blue-blind)
#3F6E61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407310;
/* rgb */ color: rgb(64, 115, 16);
/* oklch */ color: oklch(50.0% 0.136 134.1);
Tailwind
colors: {
  custom: {
    50: '#7a9c59',
    500: '#407310',
    950: '#000000',
  },
}
SCSS
$custom: #407310;
$custom-light: #7a9c59;
$custom-dark: #000000;
JSON
{
  "hex": "#407310",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 90.909,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.1359,
    "h": 134.1
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#407310
secondary
#7134AA
accent
#36F297
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407310

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

Preview Lab → · Contrast checker → · Palette generator →

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