#407923#407923

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

Color values

HEX#407923
RGBrgb(64, 121, 35)
HSLhsl(100, 55%, 31%)
HSVhsv(100, 71%, 47%)
CMYKcmyk(47.1%, 0%, 71.1%, 52.5%)
CIE-LABlab(45.48, -34.96, 39.65)
CIE-LCHlch(45.48, 52.86, 131.41°)
OKLaboklab(51.83% -0.0969 0.0905)
OKLCHoklch(51.83% 0.133 137)
XYZxyz(9.2548, 14.8855, 3.9753)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407923 #5C2379
analogous
#6B7923 #407923 #237931
triadic
#407923 #234079 #792340
tetradic
#407923 #236B79 #5C2379 #793123
square
#407923 #236B79 #5C2379 #793123
split-complementary
#407923 #312379 #79236B
monochromatic
#0E1A08 #274A15 #407923 #59A831 #76CB4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407923#FFFFFF#000000##FFFFFF
##4079231.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)
#7D6F16
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#3D7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #407923;
/* rgb */ color: rgb(64, 121, 35);
/* oklch */ color: oklch(51.8% 0.133 137.0);
Tailwind
colors: {
  custom: {
    50: '#7aa063',
    500: '#407923',
    950: '#000000',
  },
}
SCSS
$custom: #407923;
$custom-light: #7aa063;
$custom-dark: #000000;
JSON
{
  "hex": "#407923",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 35
  },
  "hsl": {
    "h": 99.767,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.13253,
    "h": 137
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#407923
secondary
#8B4CAC
accent
#49DEAC
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F05
muted
#7C7E7A

Preview Lab

Preview with #407923

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

Preview Lab → · Contrast checker → · Palette generator →

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