#407511#407511

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

Color values

HEX#407511
RGBrgb(64, 117, 17)
HSLhsl(92, 75%, 26%)
HSVhsv(92, 85%, 46%)
CMYKcmyk(45.3%, 0%, 85.5%, 54.1%)
CIE-LABlab(44.02, -34.44, 44.79)
CIE-LCHlch(44.02, 56.50, 127.56°)
OKLaboklab(50.6% -0.0967 0.0984)
OKLCHoklch(50.6% 0.138 134.5)
XYZxyz(8.5766, 13.8525, 2.7521)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407511 #461175
analogous
#727511 #407511 #117514
triadic
#407511 #114075 #751140
tetradic
#407511 #117275 #461175 #751411
square
#407511 #117275 #461175 #751411
split-complementary
#407511 #141175 #751172
monochromatic
#0F1B04 #234009 #407511 #5DAA19 #7BDF22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407511#FFFFFF#000000##FFFFFF
##4075111.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)
#73671D
Tritanopia (blue-blind)
#3F7063
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #407511;
/* rgb */ color: rgb(64, 117, 17);
/* oklch */ color: oklch(50.6% 0.138 134.5);
Tailwind
colors: {
  custom: {
    50: '#7b9d5a',
    500: '#407511',
    950: '#000000',
  },
}
SCSS
$custom: #407511;
$custom-light: #7b9d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#407511",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 91.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.138,
    "h": 134.5
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#407511
secondary
#7436AC
accent
#37F19A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407511

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

Preview Lab → · Contrast checker → · Palette generator →

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