#407922#407922

#407922 is a mid, vivid yellow-green. Relative luminance 0.149; OKLCH L 51.8% C 0.133 H 136.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#407922
RGBrgb(64, 121, 34)
HSLhsl(99, 56%, 30%)
HSVhsv(99, 72%, 47%)
CMYKcmyk(47.1%, 0%, 71.9%, 52.5%)
CIE-LABlab(45.47, -35.05, 40.06)
CIE-LCHlch(45.47, 53.23, 131.18°)
OKLaboklab(51.82% -0.0972 0.0912)
OKLCHoklch(51.82% 0.133 136.8)
XYZxyz(9.2402, 14.8796, 3.8982)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407922 #5B2279
analogous
#6B7922 #407922 #22792F
triadic
#407922 #224079 #792240
tetradic
#407922 #226B79 #5B2279 #792F22
square
#407922 #226B79 #5B2279 #792F22
split-complementary
#407922 #2F2279 #79226B
monochromatic
#0D1907 #274915 #407922 #59A92F #76CC49

Accessibility & contrast

On white

5.28
#407922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#407922 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407922
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407922#FFFFFF#000000##FFFFFF
##4079221.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F15
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#3D7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #407922;
/* rgb */ color: rgb(64, 121, 34);
/* oklch */ color: oklch(51.8% 0.133 136.8);
Tailwind
colors: {
  custom: {
    50: '#7aa062',
    500: '#407922',
    950: '#000000',
  },
}
SCSS
$custom: #407922;
$custom-light: #7aa062;
$custom-dark: #000000;
JSON
{
  "hex": "#407922",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 99.31,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51817,
    "c": 0.13325,
    "h": 136.8
  },
  "luminance": 0.1488
}

Semantic roles & 50–950 ramp

primary
#407922
secondary
#8A4BAC
accent
#48DFAB
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #407922

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

Preview Lab → · Contrast checker → · Palette generator →

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