#3A4E16#3A4E16

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

Color values

HEX#3A4E16
RGBrgb(58, 78, 22)
HSLhsl(81, 56%, 20%)
HSVhsv(81, 72%, 31%)
CMYKcmyk(25.6%, 0%, 71.8%, 69.4%)
CIE-LABlab(30.41, -17.67, 29.53)
CIE-LCHlch(30.41, 34.41, 120.89°)
OKLaboklab(39.41% -0.0504 0.0674)
OKLCHoklch(39.41% 0.084 126.8)
XYZxyz(4.6141, 6.4062, 1.7523)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E16 #2A164E
analogous
#4E4616 #3A4E16 #1E4E16
triadic
#3A4E16 #163A4E #4E163A
tetradic
#3A4E16 #164E46 #2A164E #4E161E
square
#3A4E16 #164E46 #2A164E #4E161E
split-complementary
#3A4E16 #161E4E #46164E
monochromatic
#121807 #171E09 #3A4E16 #5D7E23 #81AD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A4E16#FFFFFF#000000##FFFFFF
##3A4E161.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)
#52480F
Deuteranopia (green-blind)
#50471A
Tritanopia (blue-blind)
#3C4A43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a4e16;
/* rgb */ color: rgb(58, 78, 22);
/* oklch */ color: oklch(39.4% 0.084 126.8);
Tailwind
colors: {
  custom: {
    50: '#727f56',
    500: '#3a4e16',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e16;
$custom-light: #727f56;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e16",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 22
  },
  "hsl": {
    "h": 81.429,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3941,
    "c": 0.08414,
    "h": 126.8
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#3A4E16
secondary
#553A85
accent
#49DF7E
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A4E16

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

Preview Lab → · Contrast checker → · Palette generator →

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