#3A4E2F#3A4E2F

#3A4E2F is a dark, muted yellow-green. Relative luminance 0.066; OKLCH L 39.8% C 0.056 H 135.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3A4E2F
RGBrgb(58, 78, 47)
HSLhsl(99, 25%, 25%)
HSVhsv(99, 40%, 31%)
CMYKcmyk(25.6%, 0%, 39.7%, 69.4%)
CIE-LABlab(30.77, -14.46, 15.91)
CIE-LCHlch(30.77, 21.50, 132.27°)
OKLaboklab(39.81% -0.0395 0.0395)
OKLCHoklch(39.81% 0.056 135)
XYZxyz(4.9823, 6.5534, 3.6912)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E2F #432F4E
analogous
#4A4E2F #3A4E2F #2F4E34
triadic
#3A4E2F #2F3A4E #4E2F3A
tetradic
#3A4E2F #2F4A4E #432F4E #4E342F
square
#3A4E2F #2F4A4E #432F4E #4E342F
split-complementary
#3A4E2F #342F4E #4E2F4A
monochromatic
#0E130C #1E2818 #3A4E2F #567446 #739A5D

Accessibility & contrast

On white

9.09
#3A4E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4E2F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E2F#FFFFFF#000000##FFFFFF
##3A4E2F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A2D
Deuteranopia (green-blind)
#4D4831
Tritanopia (blue-blind)
#3A4C46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4e2f;
/* rgb */ color: rgb(58, 78, 47);
/* oklch */ color: oklch(39.8% 0.056 135.0);
Tailwind
colors: {
  custom: {
    50: '#717f68',
    500: '#3a4e2f',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e2f;
$custom-light: #717f68;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e2f",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 98.71,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3981,
    "c": 0.05584,
    "h": 135
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#3A4E2F
secondary
#725A7F
accent
#67C1A1
background
#F6F7F6
surface
#ECEEEB
border
#C7C9C6
text
#070A06
muted
#7A7C7A

Preview Lab

Preview with #3A4E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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