#3A4E13#3A4E13

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

Color values

HEX#3A4E13
RGBrgb(58, 78, 19)
HSLhsl(80, 61%, 19%)
HSVhsv(80, 76%, 31%)
CMYKcmyk(25.6%, 0%, 75.6%, 69.4%)
CIE-LABlab(30.39, -17.91, 30.90)
CIE-LCHlch(30.39, 35.72, 120.10°)
OKLaboklab(39.38% -0.0514 0.0698)
OKLCHoklch(39.38% 0.087 126.4)
XYZxyz(4.5869, 6.3953, 1.6087)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E13 #27134E
analogous
#4E4513 #3A4E13 #1D4E13
triadic
#3A4E13 #133A4E #4E133A
tetradic
#3A4E13 #134E45 #27134E #4E131D
square
#3A4E13 #134E45 #27134E #4E131D
split-complementary
#3A4E13 #131D4E #45134E
monochromatic
#121906 #151D07 #3A4E13 #5F7F1F #83B02B

Accessibility & contrast

On white

9.21
#3A4E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4E13
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E13#FFFFFF#000000##FFFFFF
##3A4E131.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480A
Deuteranopia (green-blind)
#504718
Tritanopia (blue-blind)
#3D4A42
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4e13;
/* rgb */ color: rgb(58, 78, 19);
/* oklch */ color: oklch(39.4% 0.087 126.4);
Tailwind
colors: {
  custom: {
    50: '#727f55',
    500: '#3a4e13',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e13;
$custom-light: #727f55;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e13",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 80.339,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.08665,
    "h": 126.4
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#3A4E13
secondary
#513687
accent
#44E47A
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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