#407B11#407B11

#407B11 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.3% C 0.146 H 135.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#407B11
RGBrgb(64, 123, 17)
HSLhsl(93, 76%, 27%)
HSVhsv(93, 86%, 48%)
CMYKcmyk(48%, 0%, 86.2%, 51.8%)
CIE-LABlab(46.04, -37.01, 46.60)
CIE-LCHlch(46.04, 59.51, 128.46°)
OKLaboklab(52.25% -0.1036 0.1023)
OKLCHoklch(52.25% 0.146 135.4)
XYZxyz(9.2983, 15.2958, 2.9926)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407B11 #4C117B
analogous
#757B11 #407B11 #117B17
triadic
#407B11 #11407B #7B1140
tetradic
#407B11 #11757B #4C117B #7B1711
square
#407B11 #11757B #4C117B #7B1711
split-complementary
#407B11 #17117B #7B1175
monochromatic
#0E1B04 #24450A #407B11 #5CB118 #79E125

Accessibility & contrast

On white

5.17
#407B11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#407B11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407B11
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407B11#FFFFFF#000000##FFFFFF
##407B111.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#3E7668
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #407b11;
/* rgb */ color: rgb(64, 123, 17);
/* oklch */ color: oklch(52.3% 0.146 135.4);
Tailwind
colors: {
  custom: {
    50: '#7ba25b',
    500: '#407b11',
    950: '#000000',
  },
}
SCSS
$custom: #407b11;
$custom-light: #7ba25b;
$custom-dark: #000000;
JSON
{
  "hex": "#407b11",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 17
  },
  "hsl": {
    "h": 93.396,
    "s": 75.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.14558,
    "h": 135.4
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#407B11
secondary
#7B36B1
accent
#35F29F
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #407B11

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

Preview Lab → · Contrast checker → · Palette generator →

#407B11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva