#407315#407315

#407315 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.1% C 0.133 H 134.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#407315
RGBrgb(64, 115, 21)
HSLhsl(93, 69%, 27%)
HSVhsv(93, 82%, 45%)
CMYKcmyk(44.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(43.37, -33.35, 42.94)
CIE-LCHlch(43.37, 54.37, 127.84°)
OKLaboklab(50.07% -0.0935 0.0952)
OKLCHoklch(50.07% 0.133 134.5)
XYZxyz(8.3803, 13.4051, 2.8552)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407315 #481573
analogous
#6F7315 #407315 #157319
triadic
#407315 #154073 #731540
tetradic
#407315 #156F73 #481573 #731915
square
#407315 #156F73 #481573 #731915
split-complementary
#407315 #191573 #73156F
monochromatic
#0E1A05 #233F0C #407315 #5DA71E #7AD82A

Accessibility & contrast

On white

5.70
#407315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #407315
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407315#FFFFFF#000000##FFFFFF
##4073151.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#3F6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407315;
/* rgb */ color: rgb(64, 115, 21);
/* oklch */ color: oklch(50.1% 0.133 134.5);
Tailwind
colors: {
  custom: {
    50: '#7a9c5b',
    500: '#407315',
    950: '#000000',
  },
}
SCSS
$custom: #407315;
$custom-light: #7a9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#407315",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 92.553,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.13346,
    "h": 134.5
  },
  "luminance": 0.13406
}

Semantic roles & 50–950 ramp

primary
#407315
secondary
#773BA9
accent
#3CEC9B
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407315

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

Preview Lab → · Contrast checker → · Palette generator →

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