#407615#407615

#407615 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 50.9% C 0.137 H 135.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#407615
RGBrgb(64, 118, 21)
HSLhsl(93, 70%, 27%)
HSVhsv(93, 82%, 46%)
CMYKcmyk(45.8%, 0%, 82.2%, 53.7%)
CIE-LABlab(44.38, -34.67, 43.89)
CIE-LCHlch(44.38, 55.93, 128.31°)
OKLaboklab(50.89% -0.0971 0.0972)
OKLCHoklch(50.89% 0.137 135)
XYZxyz(8.7280, 14.1005, 2.9711)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407615 #4B1576
analogous
#717615 #407615 #15761B
triadic
#407615 #154076 #761540
tetradic
#407615 #157176 #4B1576 #761B15
square
#407615 #157176 #4B1576 #761B15
split-complementary
#407615 #1B1576 #761571
monochromatic
#0E1A05 #24420C #407615 #5CAA1E #79D92C

Accessibility & contrast

On white

5.50
#407615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#407615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407615
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407615#FFFFFF#000000##FFFFFF
##4076151.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#746720
Tritanopia (blue-blind)
#3F7164
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #407615;
/* rgb */ color: rgb(64, 118, 21);
/* oklch */ color: oklch(50.9% 0.137 135.0);
Tailwind
colors: {
  custom: {
    50: '#7a9e5c',
    500: '#407615',
    950: '#000000',
  },
}
SCSS
$custom: #407615;
$custom-light: #7a9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#407615",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 93.402,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.13736,
    "h": 135
  },
  "luminance": 0.14101
}

Semantic roles & 50–950 ramp

primary
#407615
secondary
#7A3BAC
accent
#3BED9E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407615

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

Preview Lab → · Contrast checker → · Palette generator →

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