#407113#407113

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

Color values

HEX#407113
RGBrgb(64, 113, 19)
HSLhsl(91, 71%, 26%)
HSVhsv(91, 83%, 44%)
CMYKcmyk(43.4%, 0%, 83.2%, 55.7%)
CIE-LABlab(42.68, -32.58, 42.96)
CIE-LCHlch(42.68, 53.91, 127.18°)
OKLaboklab(49.5% -0.0916 0.0949)
OKLCHoklch(49.5% 0.132 134)
XYZxyz(8.1369, 12.9468, 2.6862)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407113 #441371
analogous
#6F7113 #407113 #137115
triadic
#407113 #134071 #711340
tetradic
#407113 #136F71 #441371 #711513
square
#407113 #136F71 #441371 #711513
split-complementary
#407113 #151371 #71136F
monochromatic
#0F1A04 #223D0A #407113 #5EA51C #7BDA25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407113#FFFFFF#000000##FFFFFF
##4071131.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)
#6F631E
Tritanopia (blue-blind)
#406C60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #407113;
/* rgb */ color: rgb(64, 113, 19);
/* oklch */ color: oklch(49.5% 0.132 134.0);
Tailwind
colors: {
  custom: {
    50: '#7a9a5a',
    500: '#407113',
    950: '#000000',
  },
}
SCSS
$custom: #407113;
$custom-light: #7a9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#407113",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 91.277,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49501,
    "c": 0.13189,
    "h": 134
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#407113
secondary
#7238A8
accent
#3AEE98
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407113

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

Preview Lab → · Contrast checker → · Palette generator →

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