#3A6721#3A6721

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

Color values

HEX#3A6721
RGBrgb(58, 103, 33)
HSLhsl(99, 51%, 27%)
HSVhsv(99, 68%, 40%)
CMYKcmyk(43.7%, 0%, 68%, 59.6%)
CIE-LABlab(39.09, -29.17, 33.62)
CIE-LCHlch(39.09, 44.51, 130.95°)
OKLaboklab(46.51% -0.0809 0.0776)
OKLCHoklch(46.51% 0.112 136.2)
XYZxyz(6.8695, 10.7095, 3.1437)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6721 #4E2167
analogous
#5D6721 #3A6721 #21672B
triadic
#3A6721 #213A67 #67213A
tetradic
#3A6721 #215D67 #4E2167 #672B21
square
#3A6721 #215D67 #4E2167 #672B21
split-complementary
#3A6721 #2B2167 #67215D
monochromatic
#0D1707 #203912 #3A6721 #549530 #6FC240

Accessibility & contrast

On white

6.68
#3A6721 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A6721
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6721#FFFFFF#000000##FFFFFF
##3A67211.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a6721;
/* rgb */ color: rgb(58, 103, 33);
/* oklch */ color: oklch(46.5% 0.112 136.2);
Tailwind
colors: {
  custom: {
    50: '#749360',
    500: '#3a6721',
    950: '#000000',
  },
}
SCSS
$custom: #3a6721;
$custom-light: #749360;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6721",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 33
  },
  "hsl": {
    "h": 98.571,
    "s": 51.471,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46506,
    "c": 0.11206,
    "h": 136.2
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#3A6721
secondary
#7E499B
accent
#4DDBA8
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #3A6721

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

Preview Lab → · Contrast checker → · Palette generator →

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