#407515#407515

#407515 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.6% C 0.136 H 134.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#407515
RGBrgb(64, 117, 21)
HSLhsl(93, 70%, 27%)
HSVhsv(93, 82%, 46%)
CMYKcmyk(45.3%, 0%, 82.1%, 54.1%)
CIE-LABlab(44.04, -34.23, 43.57)
CIE-LCHlch(44.04, 55.41, 128.16°)
OKLaboklab(50.62% -0.0959 0.0965)
OKLCHoklch(50.62% 0.136 134.8)
XYZxyz(8.6108, 13.8662, 2.9320)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407515 #4A1575
analogous
#707515 #407515 #15751A
triadic
#407515 #154075 #751540
tetradic
#407515 #157075 #4A1575 #751A15
square
#407515 #157075 #4A1575 #751A15
split-complementary
#407515 #1A1575 #751570
monochromatic
#0E1A05 #24410C #407515 #5CA91E #79D92B

Accessibility & contrast

On white

5.57
#407515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#407515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407515
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407515#FFFFFF#000000##FFFFFF
##4075151.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#736720
Tritanopia (blue-blind)
#3F7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407515;
/* rgb */ color: rgb(64, 117, 21);
/* oklch */ color: oklch(50.6% 0.136 134.8);
Tailwind
colors: {
  custom: {
    50: '#7a9d5b',
    500: '#407515',
    950: '#000000',
  },
}
SCSS
$custom: #407515;
$custom-light: #7a9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#407515",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 93.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50618,
    "c": 0.13606,
    "h": 134.8
  },
  "luminance": 0.13867
}

Semantic roles & 50–950 ramp

primary
#407515
secondary
#793BAB
accent
#3BEC9D
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407515

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

Preview Lab → · Contrast checker → · Palette generator →

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