#3A4908#3A4908

#3A4908 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.9% C 0.087 H 122.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3A4908
RGBrgb(58, 73, 8)
HSLhsl(74, 80%, 16%)
HSVhsv(74, 89%, 29%)
CMYKcmyk(20.5%, 0%, 89%, 71.4%)
CIE-LABlab(28.60, -15.86, 33.57)
CIE-LCHlch(28.60, 37.12, 115.29°)
OKLaboklab(37.91% -0.0468 0.0733)
OKLCHoklch(37.91% 0.087 122.6)
XYZxyz(4.1714, 5.6821, 1.1067)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4908 #170849
analogous
#493708 #3A4908 #194908
triadic
#3A4908 #083A49 #49083A
tetradic
#3A4908 #084937 #170849 #490819
square
#3A4908 #084937 #170849 #490819
split-complementary
#3A4908 #081949 #370849
monochromatic
#161C03 #161C03 #3A4908 #66800E #92B714

Accessibility & contrast

On white

9.83
#3A4908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3A4908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4908
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4908#FFFFFF#000000##FFFFFF
##3A49081.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4C430F
Tritanopia (blue-blind)
#3E453D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a4908;
/* rgb */ color: rgb(58, 73, 8);
/* oklch */ color: oklch(37.9% 0.087 122.6);
Tailwind
colors: {
  custom: {
    50: '#737b4e',
    500: '#3a4908',
    950: '#000000',
  },
}
SCSS
$custom: #3a4908;
$custom-light: #737b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4908",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 8
  },
  "hsl": {
    "h": 73.846,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37906,
    "c": 0.08695,
    "h": 122.6
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#3A4908
secondary
#3C2687
accent
#31F75F
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4908

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

Preview Lab → · Contrast checker → · Palette generator →

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