#3A4E0E#3A4E0E

#3A4E0E is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.3% C 0.090 H 125.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3A4E0E
RGBrgb(58, 78, 14)
HSLhsl(79, 70%, 18%)
HSVhsv(79, 82%, 31%)
CMYKcmyk(25.6%, 0%, 82.1%, 69.4%)
CIE-LABlab(30.35, -18.26, 32.98)
CIE-LCHlch(30.35, 37.70, 118.97°)
OKLaboklab(39.34% -0.0528 0.0732)
OKLCHoklch(39.34% 0.09 125.8)
XYZxyz(4.5486, 6.3800, 1.4072)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E0E #220E4E
analogous
#4E420E #3A4E0E #1A4E0E
triadic
#3A4E0E #0E3A4E #4E0E3A
tetradic
#3A4E0E #0E4E42 #220E4E #4E0E1A
square
#3A4E0E #0E4E42 #220E4E #4E0E1A
split-complementary
#3A4E0E #0E1A4E #420E4E
monochromatic
#131A05 #131A05 #3A4E0E #618217 #87B621

Accessibility & contrast

On white

9.23
#3A4E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4E0E
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E0E#FFFFFF#000000##FFFFFF
##3A4E0E1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534803
Deuteranopia (green-blind)
#504714
Tritanopia (blue-blind)
#3D4A42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a4e0e;
/* rgb */ color: rgb(58, 78, 14);
/* oklch */ color: oklch(39.3% 0.090 125.8);
Tailwind
colors: {
  custom: {
    50: '#737f52',
    500: '#3a4e0e',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e0e;
$custom-light: #737f52;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e0e",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 78.75,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.39339,
    "c": 0.09029,
    "h": 125.8
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#3A4E0E
secondary
#4B2F89
accent
#3BEC73
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3A4E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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