#3A6722#3A6722

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

Color values

HEX#3A6722
RGBrgb(58, 103, 34)
HSLhsl(99, 50%, 27%)
HSVhsv(99, 67%, 40%)
CMYKcmyk(43.7%, 0%, 67%, 59.6%)
CIE-LABlab(39.10, -29.07, 33.15)
CIE-LCHlch(39.10, 44.09, 131.24°)
OKLaboklab(46.52% -0.0805 0.0767)
OKLCHoklch(46.52% 0.111 136.4)
XYZxyz(6.8837, 10.7151, 3.2186)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6722 #4F2267
analogous
#5D6722 #3A6722 #22672C
triadic
#3A6722 #223A67 #67223A
tetradic
#3A6722 #225D67 #4F2267 #672C22
square
#3A6722 #225D67 #4F2267 #672C22
split-complementary
#3A6722 #2C2267 #67225D
monochromatic
#0D1708 #203913 #3A6722 #549531 #6EC143

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A6722#FFFFFF#000000##FFFFFF
##3A67221.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)
#6B5E1A
Deuteranopia (green-blind)
#645B28
Tritanopia (blue-blind)
#386359
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a6722;
/* rgb */ color: rgb(58, 103, 34);
/* oklch */ color: oklch(46.5% 0.111 136.4);
Tailwind
colors: {
  custom: {
    50: '#749360',
    500: '#3a6722',
    950: '#000000',
  },
}
SCSS
$custom: #3a6722;
$custom-light: #749360;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6722",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 99.13,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46517,
    "c": 0.11121,
    "h": 136.4
  },
  "luminance": 0.10716
}

Semantic roles & 50–950 ramp

primary
#3A6722
secondary
#7F4A9B
accent
#4EDAA9
background
#F7F9F5
surface
#EDF1EA
border
#C8CBC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #3A6722

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

Preview Lab → · Contrast checker → · Palette generator →

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