#3A6417#3A6417

#3A6417 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.6% C 0.115 H 134.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3A6417
RGBrgb(58, 100, 23)
HSLhsl(93, 63%, 24%)
HSVhsv(93, 77%, 39%)
CMYKcmyk(42%, 0%, 77%, 60.8%)
CIE-LABlab(37.98, -28.65, 36.87)
CIE-LCHlch(37.98, 46.69, 127.85°)
OKLaboklab(45.57% -0.0803 0.0829)
OKLCHoklch(45.57% 0.115 134.1)
XYZxyz(6.4566, 10.0754, 2.4150)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6417 #411764
analogous
#616417 #3A6417 #17641A
triadic
#3A6417 #173A64 #64173A
tetradic
#3A6417 #176164 #411764 #641A17
square
#3A6417 #176164 #411764 #641A17
split-complementary
#3A6417 #1A1764 #641761
monochromatic
#0E1906 #1D320C #3A6417 #579622 #74C82E

Accessibility & contrast

On white

6.96
#3A6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3A6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6417
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6417#FFFFFF#000000##FFFFFF
##3A64171.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#3A6055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a6417;
/* rgb */ color: rgb(58, 100, 23);
/* oklch */ color: oklch(45.6% 0.115 134.1);
Tailwind
colors: {
  custom: {
    50: '#74905a',
    500: '#3a6417',
    950: '#000000',
  },
}
SCSS
$custom: #3a6417;
$custom-light: #74905a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6417",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 92.727,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.11542,
    "h": 134.1
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#3A6417
secondary
#703C9A
accent
#42E69B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A6417

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

Preview Lab → · Contrast checker → · Palette generator →

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