#3A4910#3A4910

#3A4910 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 38.0% C 0.082 H 123.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3A4910
RGBrgb(58, 73, 16)
HSLhsl(76, 64%, 17%)
HSVhsv(76, 78%, 29%)
CMYKcmyk(20.5%, 0%, 78.1%, 71.4%)
CIE-LABlab(28.65, -15.38, 30.48)
CIE-LCHlch(28.65, 34.14, 116.78°)
OKLaboklab(37.96% -0.0447 0.0683)
OKLCHoklch(37.96% 0.082 123.2)
XYZxyz(4.2210, 5.7020, 1.3683)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4910 #1F1049
analogous
#493B10 #3A4910 #1E4910
triadic
#3A4910 #103A49 #49103A
tetradic
#3A4910 #10493B #1F1049 #49101E
square
#3A4910 #10493B #1F1049 #49101E
split-complementary
#3A4910 #101E49 #3B1049
monochromatic
#141906 #141906 #3A4910 #627B1B #8AAD26

Accessibility & contrast

On white

9.81
#3A4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A4910
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4910#FFFFFF#000000##FFFFFF
##3A49101.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4407
Deuteranopia (green-blind)
#4C4315
Tritanopia (blue-blind)
#3D453E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a4910;
/* rgb */ color: rgb(58, 73, 16);
/* oklch */ color: oklch(38.0% 0.082 123.2);
Tailwind
colors: {
  custom: {
    50: '#727b52',
    500: '#3a4910',
    950: '#000000',
  },
}
SCSS
$custom: #3a4910;
$custom-light: #727b52;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4910",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 75.789,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37965,
    "c": 0.08169,
    "h": 123.2
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#3A4910
secondary
#473283
accent
#41E76D
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #3A4910

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

Preview Lab → · Contrast checker → · Palette generator →

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