#3A4E2D#3A4E2D

#3A4E2D is a dark, muted yellow-green. Relative luminance 0.065; OKLCH L 39.8% C 0.058 H 133.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3A4E2D
RGBrgb(58, 78, 45)
HSLhsl(96, 27%, 24%)
HSVhsv(96, 42%, 31%)
CMYKcmyk(25.6%, 0%, 42.3%, 69.4%)
CIE-LABlab(30.73, -14.79, 17.08)
CIE-LCHlch(30.73, 22.59, 130.90°)
OKLaboklab(39.77% -0.0405 0.0422)
OKLCHoklch(39.77% 0.058 133.8)
XYZxyz(4.9429, 6.5377, 3.4836)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E2D #412D4E
analogous
#4B4E2D #3A4E2D #2D4E31
triadic
#3A4E2D #2D3A4E #4E2D3A
tetradic
#3A4E2D #2D4B4E #412D4E #4E312D
square
#3A4E2D #2D4B4E #412D4E #4E312D
split-complementary
#3A4E2D #312D4E #4E2D4B
monochromatic
#0E130B #1D2717 #3A4E2D #577543 #749C5A

Accessibility & contrast

On white

9.10
#3A4E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A4E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E2D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E2D#FFFFFF#000000##FFFFFF
##3A4E2D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51492B
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#3A4C46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4e2d;
/* rgb */ color: rgb(58, 78, 45);
/* oklch */ color: oklch(39.8% 0.058 133.8);
Tailwind
colors: {
  custom: {
    50: '#717f66',
    500: '#3a4e2d',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e2d;
$custom-light: #717f66;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e2d",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 45
  },
  "hsl": {
    "h": 96.364,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.39767,
    "c": 0.05844,
    "h": 133.8
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#3A4E2D
secondary
#705780
accent
#65C39E
background
#F6F7F6
surface
#ECEEEB
border
#C7C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #3A4E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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