#3A4E11#3A4E11

#3A4E11 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.4% C 0.088 H 126.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#3A4E11
RGBrgb(58, 78, 17)
HSLhsl(80, 64%, 19%)
HSVhsv(80, 78%, 31%)
CMYKcmyk(25.6%, 0%, 78.2%, 69.4%)
CIE-LABlab(30.37, -18.06, 31.77)
CIE-LCHlch(30.37, 36.54, 119.62°)
OKLaboklab(39.36% -0.052 0.0712)
OKLCHoklch(39.36% 0.088 126.1)
XYZxyz(4.5705, 6.3887, 1.5226)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E11 #25114E
analogous
#4E4311 #3A4E11 #1B4E11
triadic
#3A4E11 #113A4E #4E113A
tetradic
#3A4E11 #114E43 #25114E #4E111B
square
#3A4E11 #114E43 #25114E #4E111B
split-complementary
#3A4E11 #111B4E #43114E
monochromatic
#131905 #151C06 #3A4E11 #5F801C #85B227

Accessibility & contrast

On white

9.22
#3A4E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4E11
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E11#FFFFFF#000000##FFFFFF
##3A4E111.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4e11;
/* rgb */ color: rgb(58, 78, 17);
/* oklch */ color: oklch(39.4% 0.088 126.1);
Tailwind
colors: {
  custom: {
    50: '#727f54',
    500: '#3a4e11',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e11;
$custom-light: #727f54;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e11",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 79.672,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39363,
    "c": 0.08819,
    "h": 126.1
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#3A4E11
secondary
#4F3387
accent
#41E777
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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