#404F10#404F10

#404F10 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.1% C 0.087 H 122.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#404F10
RGBrgb(64, 79, 16)
HSLhsl(74, 66%, 19%)
HSVhsv(74, 80%, 31%)
CMYKcmyk(19%, 0%, 79.7%, 69%)
CIE-LABlab(31.16, -15.88, 33.12)
CIE-LCHlch(31.16, 36.73, 115.62°)
OKLaboklab(40.11% -0.0465 0.0737)
OKLCHoklch(40.11% 0.087 122.2)
XYZxyz(5.0039, 6.7194, 1.5235)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F10 #1F104F
analogous
#4F3E10 #404F10 #204F10
triadic
#404F10 #10404F #4F1040
tetradic
#404F10 #104F3E #1F104F #4F1020
square
#404F10 #104F3E #1F104F #4F1020
split-complementary
#404F10 #10204F #3E104F
monochromatic
#151905 #171C06 #404F10 #69821A #92B525

Accessibility & contrast

On white

8.96
#404F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#404F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F10
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F10#FFFFFF#000000##FFFFFF
##404F101.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A05
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#444B43
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #404f10;
/* rgb */ color: rgb(64, 79, 16);
/* oklch */ color: oklch(40.1% 0.087 122.2);
Tailwind
colors: {
  custom: {
    50: '#778053',
    500: '#404f10',
    950: '#000000',
  },
}
SCSS
$custom: #404f10;
$custom-light: #778053;
$custom-dark: #000000;
JSON
{
  "hex": "#404f10",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 74.286,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.08715,
    "h": 122.2
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#404F10
secondary
#473289
accent
#3FE967
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #404F10

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

Preview Lab → · Contrast checker → · Palette generator →

#404F10 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva