#407914#407914

#407914 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.7% C 0.142 H 135.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#407914
RGBrgb(64, 121, 20)
HSLhsl(94, 72%, 28%)
HSVhsv(94, 83%, 47%)
CMYKcmyk(47.1%, 0%, 83.5%, 52.5%)
CIE-LABlab(45.38, -36.01, 45.13)
CIE-LCHlch(45.38, 57.74, 128.59°)
OKLaboklab(51.72% -0.1008 0.0996)
OKLCHoklch(51.72% 0.142 135.3)
XYZxyz(9.0778, 14.8147, 3.0429)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407914 #4D1479
analogous
#737914 #407914 #14791A
triadic
#407914 #144079 #791440
tetradic
#407914 #147379 #4D1479 #791A14
square
#407914 #147379 #4D1479 #791A14
split-complementary
#407914 #1A1479 #791473
monochromatic
#0E1A04 #24440B #407914 #5CAE1D #78DC2B

Accessibility & contrast

On white

5.30
#407914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#407914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407914
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407914#FFFFFF#000000##FFFFFF
##4079141.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#3E7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #407914;
/* rgb */ color: rgb(64, 121, 20);
/* oklch */ color: oklch(51.7% 0.142 135.3);
Tailwind
colors: {
  custom: {
    50: '#7ba05c',
    500: '#407914',
    950: '#000000',
  },
}
SCSS
$custom: #407914;
$custom-light: #7ba05c;
$custom-dark: #000000;
JSON
{
  "hex": "#407914",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 93.861,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.14171,
    "h": 135.3
  },
  "luminance": 0.14815
}

Semantic roles & 50–950 ramp

primary
#407914
secondary
#7C3AAF
accent
#39EEA0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #407914

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

Preview Lab → · Contrast checker → · Palette generator →

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