#407510#407510

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

Color values

HEX#407510
RGBrgb(64, 117, 16)
HSLhsl(91, 76%, 26%)
HSVhsv(91, 86%, 46%)
CMYKcmyk(45.3%, 0%, 86.3%, 54.1%)
CIE-LABlab(44.02, -34.49, 45.07)
CIE-LCHlch(44.02, 56.75, 127.43°)
OKLaboklab(50.59% -0.0969 0.0989)
OKLCHoklch(50.59% 0.138 134.4)
XYZxyz(8.5690, 13.8495, 2.7118)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407510 #451075
analogous
#727510 #407510 #107512
triadic
#407510 #104075 #751040
tetradic
#407510 #107275 #451075 #751210
square
#407510 #107275 #451075 #751210
split-complementary
#407510 #121075 #751072
monochromatic
#0F1B04 #233F09 #407510 #5DAB17 #7BE01F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #407510;
/* rgb */ color: rgb(64, 117, 16);
/* oklch */ color: oklch(50.6% 0.138 134.4);
Tailwind
colors: {
  custom: {
    50: '#7b9d59',
    500: '#407510',
    950: '#000000',
  },
}
SCSS
$custom: #407510;
$custom-light: #7b9d59;
$custom-dark: #000000;
JSON
{
  "hex": "#407510",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 16
  },
  "hsl": {
    "h": 91.485,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.5059,
    "c": 0.13844,
    "h": 134.4
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#407510
secondary
#7335AC
accent
#35F399
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407510

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

Preview Lab → · Contrast checker → · Palette generator →

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