#407314#407314

#407314 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.1% C 0.134 H 134.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#407314
RGBrgb(64, 115, 20)
HSLhsl(92, 70%, 26%)
HSVhsv(92, 83%, 45%)
CMYKcmyk(44.3%, 0%, 82.6%, 54.9%)
CIE-LABlab(43.36, -33.41, 43.26)
CIE-LCHlch(43.36, 54.66, 127.68°)
OKLaboklab(50.06% -0.0938 0.0957)
OKLCHoklch(50.06% 0.134 134.4)
XYZxyz(8.3712, 13.4015, 2.8073)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407314 #471473
analogous
#707314 #407314 #147318
triadic
#407314 #144073 #731440
tetradic
#407314 #147073 #471473 #731814
square
#407314 #147073 #471473 #731814
split-complementary
#407314 #181473 #731470
monochromatic
#0F1A05 #233F0B #407314 #5DA71D #7ADA28

Accessibility & contrast

On white

5.71
#407314 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#407314 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407314
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407314#FFFFFF#000000##FFFFFF
##4073141.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#3F6E62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #407314;
/* rgb */ color: rgb(64, 115, 20);
/* oklch */ color: oklch(50.1% 0.134 134.4);
Tailwind
colors: {
  custom: {
    50: '#7a9c5b',
    500: '#407314',
    950: '#000000',
  },
}
SCSS
$custom: #407314;
$custom-light: #7a9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#407314",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 20
  },
  "hsl": {
    "h": 92.211,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5006,
    "c": 0.13398,
    "h": 134.4
  },
  "luminance": 0.13402
}

Semantic roles & 50–950 ramp

primary
#407314
secondary
#763AA9
accent
#3BED9A
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #407314

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

Preview Lab → · Contrast checker → · Palette generator →

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