#3A4E18#3A4E18

#3A4E18 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.4% C 0.082 H 127.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#3A4E18
RGBrgb(58, 78, 24)
HSLhsl(82, 53%, 20%)
HSVhsv(82, 69%, 31%)
CMYKcmyk(25.6%, 0%, 69.2%, 69.4%)
CIE-LABlab(30.43, -17.49, 28.57)
CIE-LCHlch(30.43, 33.50, 121.47°)
OKLaboklab(39.43% -0.0497 0.0657)
OKLCHoklch(39.43% 0.082 127.1)
XYZxyz(4.6342, 6.4142, 1.8579)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E18 #2C184E
analogous
#4E4718 #3A4E18 #1F4E18
triadic
#3A4E18 #183A4E #4E183A
tetradic
#3A4E18 #184E47 #2C184E #4E181F
square
#3A4E18 #184E47 #2C184E #4E181F
split-complementary
#3A4E18 #181F4E #47184E
monochromatic
#111707 #171F0A #3A4E18 #5D7D26 #80AC35

Accessibility & contrast

On white

9.20
#3A4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3A4E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E18
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E18#FFFFFF#000000##FFFFFF
##3A4E181.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524811
Deuteranopia (green-blind)
#4F471C
Tritanopia (blue-blind)
#3C4A43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4e18;
/* rgb */ color: rgb(58, 78, 24);
/* oklch */ color: oklch(39.4% 0.082 127.1);
Tailwind
colors: {
  custom: {
    50: '#727f58',
    500: '#3a4e18',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e18;
$custom-light: #727f58;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e18",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 82.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.08233,
    "h": 127.1
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#3A4E18
secondary
#583D85
accent
#4BDC81
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A4E18

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

Preview Lab → · Contrast checker → · Palette generator →

#3A4E18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva