#3A4E2A#3A4E2A

#3A4E2A is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.7% C 0.062 H 132.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#3A4E2A
RGBrgb(58, 78, 42)
HSLhsl(93, 30%, 24%)
HSVhsv(93, 46%, 31%)
CMYKcmyk(25.6%, 0%, 46.2%, 69.4%)
CIE-LABlab(30.68, -15.27, 18.82)
CIE-LCHlch(30.68, 24.24, 129.05°)
OKLaboklab(39.71% -0.0419 0.046)
OKLCHoklch(39.71% 0.062 132.3)
XYZxyz(4.8871, 6.5154, 3.1901)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E2A #3E2A4E
analogous
#4C4E2A #3A4E2A #2A4E2C
triadic
#3A4E2A #2A3A4E #4E2A3A
tetradic
#3A4E2A #2A4C4E #3E2A4E #4E2C2A
square
#3A4E2A #2A4C4E #3E2A4E #4E2C2A
split-complementary
#3A4E2A #2C2A4E #4E2A4C
monochromatic
#0F140B #1C2615 #3A4E2A #58763F #759E55

Accessibility & contrast

On white

9.12
#3A4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3A4E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E2A
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E2A#FFFFFF#000000##FFFFFF
##3A4E2A1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514927
Deuteranopia (green-blind)
#4E482C
Tritanopia (blue-blind)
#3B4B45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4e2a;
/* rgb */ color: rgb(58, 78, 42);
/* oklch */ color: oklch(39.7% 0.062 132.3);
Tailwind
colors: {
  custom: {
    50: '#717f64',
    500: '#3a4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e2a;
$custom-light: #717f64;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e2a",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 93.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.06227,
    "h": 132.3
  },
  "luminance": 0.06515
}

Semantic roles & 50–950 ramp

primary
#3A4E2A
secondary
#6C5480
accent
#62C699
background
#F6F7F6
surface
#ECEEEB
border
#C7C9C6
text
#070A05
muted
#7A7C7A

Preview Lab

Preview with #3A4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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