#404C10#404C10

#404C10 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.3% C 0.083 H 120.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#404C10
RGBrgb(64, 76, 16)
HSLhsl(72, 65%, 18%)
HSVhsv(72, 79%, 30%)
CMYKcmyk(15.8%, 0%, 78.9%, 70.2%)
CIE-LABlab(30.15, -14.20, 32.13)
CIE-LCHlch(30.15, 35.12, 113.84°)
OKLaboklab(39.3% -0.0419 0.0716)
OKLCHoklch(39.3% 0.083 120.3)
XYZxyz(4.7924, 6.2963, 1.4529)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C10 #1C104C
analogous
#4C3A10 #404C10 #224C10
triadic
#404C10 #10404C #4C1040
tetradic
#404C10 #104C3A #1C104C #4C1022
square
#404C10 #104C3A #1C104C #4C1022
split-complementary
#404C10 #10224C #3A104C
monochromatic
#151905 #151905 #404C10 #6B7F1B #95B125

Accessibility & contrast

On white

9.30
#404C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#404C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404C10
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C10#FFFFFF#000000##FFFFFF
##404C101.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514706
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#444840
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404c10;
/* rgb */ color: rgb(64, 76, 16);
/* oklch */ color: oklch(39.3% 0.083 120.3);
Tailwind
colors: {
  custom: {
    50: '#777e53',
    500: '#404c10',
    950: '#000000',
  },
}
SCSS
$custom: #404c10;
$custom-light: #777e53;
$custom-dark: #000000;
JSON
{
  "hex": "#404c10",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 72,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39298,
    "c": 0.08298,
    "h": 120.3
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#404C10
secondary
#433286
accent
#40E861
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404C10

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

Preview Lab → · Contrast checker → · Palette generator →

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