#404A10#404A10

#404A10 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.8% C 0.080 H 118.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#404A10
RGBrgb(64, 74, 16)
HSLhsl(70, 64%, 18%)
HSVhsv(70, 78%, 29%)
CMYKcmyk(13.5%, 0%, 78.4%, 71%)
CIE-LABlab(29.48, -13.06, 31.47)
CIE-LCHlch(29.48, 34.07, 112.54°)
OKLaboklab(38.76% -0.0387 0.0702)
OKLCHoklch(38.76% 0.08 118.9)
XYZxyz(4.6568, 6.0250, 1.4077)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404A10 #1A104A
analogous
#4A3710 #404A10 #234A10
triadic
#404A10 #10404A #4A1040
tetradic
#404A10 #104A37 #1A104A #4A1023
square
#404A10 #104A37 #1A104A #4A1023
split-complementary
#404A10 #10234A #37104A
monochromatic
#161905 #161905 #404A10 #6C7C1B #97AF26

Accessibility & contrast

On white

9.52
#404A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#404A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404A10
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404A10#FFFFFF#000000##FFFFFF
##404A101.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4506
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#44463F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #404a10;
/* rgb */ color: rgb(64, 74, 16);
/* oklch */ color: oklch(38.8% 0.080 118.9);
Tailwind
colors: {
  custom: {
    50: '#777c53',
    500: '#404a10',
    950: '#000000',
  },
}
SCSS
$custom: #404a10;
$custom-light: #777c53;
$custom-dark: #000000;
JSON
{
  "hex": "#404a10",
  "rgb": {
    "r": 64,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 70.345,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38756,
    "c": 0.08021,
    "h": 118.9
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#404A10
secondary
#403284
accent
#40E75D
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404A10

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

Preview Lab → · Contrast checker → · Palette generator →

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