#3A6720#3A6720

#3A6720 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.5% C 0.113 H 136.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3A6720
RGBrgb(58, 103, 32)
HSLhsl(98, 53%, 26%)
HSVhsv(98, 69%, 40%)
CMYKcmyk(43.7%, 0%, 68.9%, 59.6%)
CIE-LABlab(39.08, -29.27, 34.08)
CIE-LCHlch(39.08, 44.92, 130.66°)
OKLaboklab(46.5% -0.0812 0.0784)
OKLCHoklch(46.5% 0.113 136)
XYZxyz(6.8557, 10.7039, 3.0710)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6720 #4D2067
analogous
#5E6720 #3A6720 #20672A
triadic
#3A6720 #203A67 #67203A
tetradic
#3A6720 #205E67 #4D2067 #672A20
square
#3A6720 #205E67 #4D2067 #672A20
split-complementary
#3A6720 #2A2067 #67205E
monochromatic
#0D1707 #203811 #3A6720 #54962F #6FC33E

Accessibility & contrast

On white

6.69
#3A6720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3A6720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6720
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6720#FFFFFF#000000##FFFFFF
##3A67201.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E17
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#386358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a6720;
/* rgb */ color: rgb(58, 103, 32);
/* oklch */ color: oklch(46.5% 0.113 136.0);
Tailwind
colors: {
  custom: {
    50: '#74935f',
    500: '#3a6720',
    950: '#000000',
  },
}
SCSS
$custom: #3a6720;
$custom-light: #74935f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6720",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 98.028,
    "s": 52.593,
    "l": 26.471
  },
  "oklch": {
    "l": 0.46495,
    "c": 0.11289,
    "h": 136
  },
  "luminance": 0.10704
}

Semantic roles & 50–950 ramp

primary
#3A6720
secondary
#7D489B
accent
#4CDCA7
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #3A6720

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

Preview Lab → · Contrast checker → · Palette generator →

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