#407111#407111

#407111 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.5% C 0.133 H 133.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#407111
RGBrgb(64, 113, 17)
HSLhsl(91, 74%, 25%)
HSVhsv(91, 85%, 44%)
CMYKcmyk(43.4%, 0%, 85%, 55.7%)
CIE-LABlab(42.67, -32.68, 43.57)
CIE-LCHlch(42.67, 54.46, 126.88°)
OKLaboklab(49.49% -0.092 0.0959)
OKLCHoklch(49.49% 0.133 133.8)
XYZxyz(8.1205, 12.9403, 2.6001)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407111 #421171
analogous
#707111 #407111 #117112
triadic
#407111 #114071 #711140
tetradic
#407111 #117071 #421171 #711211
square
#407111 #117071 #421171 #711211
split-complementary
#407111 #121171 #711170
monochromatic
#0F1B04 #223C09 #407111 #5EA619 #7CDB21

Accessibility & contrast

On white

5.85
#407111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#407111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407111
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407111#FFFFFF#000000##FFFFFF
##4071111.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#406C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #407111;
/* rgb */ color: rgb(64, 113, 17);
/* oklch */ color: oklch(49.5% 0.133 133.8);
Tailwind
colors: {
  custom: {
    50: '#7a9a59',
    500: '#407111',
    950: '#000000',
  },
}
SCSS
$custom: #407111;
$custom-light: #7a9a59;
$custom-dark: #000000;
JSON
{
  "hex": "#407111",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 90.625,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.4949,
    "c": 0.13287,
    "h": 133.8
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#407111
secondary
#7036A8
accent
#37F196
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407111

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

Preview Lab → · Contrast checker → · Palette generator →

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