#407115#407115

#407115 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.131 H 134.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#407115
RGBrgb(64, 113, 21)
HSLhsl(92, 69%, 26%)
HSVhsv(92, 81%, 44%)
CMYKcmyk(43.4%, 0%, 81.4%, 55.7%)
CIE-LABlab(42.69, -32.46, 42.30)
CIE-LCHlch(42.69, 53.33, 127.50°)
OKLaboklab(49.51% -0.0911 0.0939)
OKLCHoklch(49.51% 0.131 134.2)
XYZxyz(8.1547, 12.9540, 2.7800)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407115 #461571
analogous
#6E7115 #407115 #157118
triadic
#407115 #154071 #711540
tetradic
#407115 #156E71 #461571 #711815
square
#407115 #156E71 #461571 #711815
split-complementary
#407115 #181571 #71156E
monochromatic
#0F1A05 #233D0B #407115 #5DA51F #7BD729

Accessibility & contrast

On white

5.85
#407115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#407115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407115
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407115#FFFFFF#000000##FFFFFF
##4071151.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6F631F
Tritanopia (blue-blind)
#3F6C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #407115;
/* rgb */ color: rgb(64, 113, 21);
/* oklch */ color: oklch(49.5% 0.131 134.2);
Tailwind
colors: {
  custom: {
    50: '#7a9a5b',
    500: '#407115',
    950: '#000000',
  },
}
SCSS
$custom: #407115;
$custom-light: #7a9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#407115",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 91.957,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.13084,
    "h": 134.2
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

primary
#407115
secondary
#743BA7
accent
#3CEB9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407115

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

Preview Lab → · Contrast checker → · Palette generator →

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