#407415#407415

#407415 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.3% C 0.135 H 134.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#407415
RGBrgb(64, 116, 21)
HSLhsl(93, 69%, 27%)
HSVhsv(93, 82%, 45%)
CMYKcmyk(44.8%, 0%, 81.9%, 54.5%)
CIE-LABlab(43.70, -33.79, 43.26)
CIE-LCHlch(43.70, 54.89, 128.00°)
OKLaboklab(50.34% -0.0947 0.0959)
OKLCHoklch(50.34% 0.135 134.7)
XYZxyz(8.4949, 13.6344, 2.8934)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407415 #491574
analogous
#707415 #407415 #15741A
triadic
#407415 #154074 #741540
tetradic
#407415 #157074 #491574 #741A15
square
#407415 #157074 #491574 #741A15
split-complementary
#407415 #1A1574 #741570
monochromatic
#0E1A05 #23400C #407415 #5DA81E #79D92B

Accessibility & contrast

On white

5.63
#407415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#407415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407415
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407415#FFFFFF#000000##FFFFFF
##4074151.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#3F6F62
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #407415;
/* rgb */ color: rgb(64, 116, 21);
/* oklch */ color: oklch(50.3% 0.135 134.7);
Tailwind
colors: {
  custom: {
    50: '#7a9c5b',
    500: '#407415',
    950: '#000000',
  },
}
SCSS
$custom: #407415;
$custom-light: #7a9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#407415",
  "rgb": {
    "r": 64,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 92.842,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.13477,
    "h": 134.7
  },
  "luminance": 0.13635
}

Semantic roles & 50–950 ramp

primary
#407415
secondary
#783BAA
accent
#3CEC9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407415

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

Preview Lab → · Contrast checker → · Palette generator →

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