#407121#407121

#407121 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.6% C 0.123 H 135.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#407121
RGBrgb(64, 113, 33)
HSLhsl(97, 55%, 29%)
HSVhsv(97, 71%, 44%)
CMYKcmyk(43.4%, 0%, 70.8%, 55.7%)
CIE-LABlab(42.78, -31.58, 37.67)
CIE-LCHlch(42.78, 49.16, 129.97°)
OKLaboklab(49.61% -0.0878 0.086)
OKLCHoklch(49.61% 0.123 135.6)
XYZxyz(8.2938, 13.0096, 3.5126)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407121 #522171
analogous
#687121 #407121 #21712A
triadic
#407121 #214071 #712140
tetradic
#407121 #216871 #522171 #712A21
square
#407121 #216871 #522171 #712A21
split-complementary
#407121 #2A2171 #712168
monochromatic
#0D1807 #254213 #407121 #5BA02F #77C844

Accessibility & contrast

On white

5.83
#407121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#407121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #407121
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407121#FFFFFF#000000##FFFFFF
##4071211.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756816
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#3F6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #407121;
/* rgb */ color: rgb(64, 113, 33);
/* oklch */ color: oklch(49.6% 0.123 135.6);
Tailwind
colors: {
  custom: {
    50: '#799a61',
    500: '#407121',
    950: '#000000',
  },
}
SCSS
$custom: #407121;
$custom-light: #799a61;
$custom-dark: #000000;
JSON
{
  "hex": "#407121",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 96.75,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.12295,
    "h": 135.6
  },
  "luminance": 0.1301
}

Semantic roles & 50–950 ramp

primary
#407121
secondary
#8149A5
accent
#4ADEA5
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #407121

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

Preview Lab → · Contrast checker → · Palette generator →

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