#407014#407014

#407014 is a mid, vivid yellow-green. Relative luminance 0.127; OKLCH L 49.2% C 0.130 H 133.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#407014
RGBrgb(64, 112, 20)
HSLhsl(91, 70%, 26%)
HSVhsv(91, 82%, 44%)
CMYKcmyk(42.9%, 0%, 82.1%, 56.1%)
CIE-LABlab(42.35, -32.08, 42.32)
CIE-LCHlch(42.35, 53.10, 127.16°)
OKLaboklab(49.23% -0.0902 0.0937)
OKLCHoklch(49.23% 0.13 133.9)
XYZxyz(8.0346, 12.7284, 2.6952)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407014 #441470
analogous
#6E7014 #407014 #147016
triadic
#407014 #144070 #701440
tetradic
#407014 #146E70 #441470 #701614
square
#407014 #146E70 #441470 #701614
split-complementary
#407014 #161470 #70146E
monochromatic
#0F1A05 #223C0B #407014 #5EA41D #7BD827

Accessibility & contrast

On white

5.92
#407014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#407014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407014
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407014#FFFFFF#000000##FFFFFF
##4070141.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6E631E
Tritanopia (blue-blind)
#406B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #407014;
/* rgb */ color: rgb(64, 112, 20);
/* oklch */ color: oklch(49.2% 0.130 133.9);
Tailwind
colors: {
  custom: {
    50: '#7a995a',
    500: '#407014',
    950: '#000000',
  },
}
SCSS
$custom: #407014;
$custom-light: #7a995a;
$custom-dark: #000000;
JSON
{
  "hex": "#407014",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 91.304,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49231,
    "c": 0.13006,
    "h": 133.9
  },
  "luminance": 0.12729
}

Semantic roles & 50–950 ramp

primary
#407014
secondary
#7239A6
accent
#3BED98
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407014

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

Preview Lab → · Contrast checker → · Palette generator →

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