#3A6322#3A6322

#3A6322 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.4% C 0.105 H 135.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#3A6322
RGBrgb(58, 99, 34)
HSLhsl(98, 49%, 26%)
HSVhsv(98, 66%, 39%)
CMYKcmyk(41.4%, 0%, 65.7%, 61.2%)
CIE-LABlab(37.73, -27.18, 31.64)
CIE-LCHlch(37.73, 41.71, 130.66°)
OKLaboklab(45.4% -0.0754 0.0735)
OKLCHoklch(45.4% 0.105 135.7)
XYZxyz(6.4953, 9.9384, 3.0891)
Luminance0.0994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6322 #4B2263
analogous
#5A6322 #3A6322 #22632A
triadic
#3A6322 #223A63 #63223A
tetradic
#3A6322 #225A63 #4B2263 #632A22
square
#3A6322 #225A63 #4B2263 #632A22
split-complementary
#3A6322 #2A2263 #63225A
monochromatic
#0D1708 #1F3512 #3A6322 #559132 #6FBE41

Accessibility & contrast

On white

7.03
#3A6322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3A6322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A6322
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6322#FFFFFF#000000##FFFFFF
##3A63221.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B1B
Deuteranopia (green-blind)
#615827
Tritanopia (blue-blind)
#395F55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a6322;
/* rgb */ color: rgb(58, 99, 34);
/* oklch */ color: oklch(45.4% 0.105 135.7);
Tailwind
colors: {
  custom: {
    50: '#739060',
    500: '#3a6322',
    950: '#000000',
  },
}
SCSS
$custom: #3a6322;
$custom-light: #739060;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6322",
  "rgb": {
    "r": 58,
    "g": 99,
    "b": 34
  },
  "hsl": {
    "h": 97.846,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.45401,
    "c": 0.10527,
    "h": 135.7
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#3A6322
secondary
#7A4A97
accent
#4FD8A6
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C05
muted
#7B7D79

Preview Lab

Preview with #3A6322

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

Preview Lab → · Contrast checker → · Palette generator →

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