#3A4E1E#3A4E1E

#3A4E1E is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.5% C 0.076 H 128.3°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3A4E1E
RGBrgb(58, 78, 30)
HSLhsl(85, 44%, 21%)
HSVhsv(85, 62%, 31%)
CMYKcmyk(25.6%, 0%, 61.5%, 69.4%)
CIE-LABlab(30.50, -16.87, 25.51)
CIE-LCHlch(30.50, 30.58, 123.48°)
OKLaboklab(39.51% -0.0474 0.0599)
OKLCHoklch(39.51% 0.076 128.3)
XYZxyz(4.7036, 6.4420, 2.2237)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E1E #321E4E
analogous
#4E4A1E #3A4E1E #224E1E
triadic
#3A4E1E #1E3A4E #4E1E3A
tetradic
#3A4E1E #1E4E4A #321E4E #4E1E22
square
#3A4E1E #1E4E4A #321E4E #4E1E22
split-complementary
#3A4E1E #1E224E #4A1E4E
monochromatic
#101609 #19220D #3A4E1E #5B7A2F #7CA640

Accessibility & contrast

On white

9.18
#3A4E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3A4E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E1E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E1E#FFFFFF#000000##FFFFFF
##3A4E1E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524919
Deuteranopia (green-blind)
#4F4721
Tritanopia (blue-blind)
#3C4B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4e1e;
/* rgb */ color: rgb(58, 78, 30);
/* oklch */ color: oklch(39.5% 0.076 128.3);
Tailwind
colors: {
  custom: {
    50: '#727f5b',
    500: '#3a4e1e',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e1e;
$custom-light: #727f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e1e",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 30
  },
  "hsl": {
    "h": 85,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39508,
    "c": 0.07635,
    "h": 128.3
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#3A4E1E
secondary
#5F4583
accent
#54D489
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #3A4E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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