#3A641F#3A641F

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

Color values

HEX#3A641F
RGBrgb(58, 100, 31)
HSLhsl(97, 53%, 26%)
HSVhsv(97, 69%, 39%)
CMYKcmyk(42%, 0%, 69%, 60.8%)
CIE-LABlab(38.04, -27.96, 33.43)
CIE-LCHlch(38.04, 43.58, 129.91°)
OKLaboklab(45.65% -0.0777 0.0769)
OKLCHoklch(45.65% 0.109 135.3)
XYZxyz(6.5493, 10.1125, 2.9029)
Luminance0.1011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A641F #491F64
analogous
#5C641F #3A641F #1F6426
triadic
#3A641F #1F3A64 #641F3A
tetradic
#3A641F #1F5C64 #491F64 #64261F
square
#3A641F #1F5C64 #491F64 #64261F
split-complementary
#3A641F #261F64 #641F5C
monochromatic
#0E1707 #1F3511 #3A641F #55932D #70C13C

Accessibility & contrast

On white

6.95
#3A641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A641F
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A641F#FFFFFF#000000##FFFFFF
##3A641F1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C16
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#396056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a641f;
/* rgb */ color: rgb(58, 100, 31);
/* oklch */ color: oklch(45.6% 0.109 135.3);
Tailwind
colors: {
  custom: {
    50: '#74905e',
    500: '#3a641f',
    950: '#000000',
  },
}
SCSS
$custom: #3a641f;
$custom-light: #74905e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a641f",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 96.522,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45646,
    "c": 0.10936,
    "h": 135.3
  },
  "luminance": 0.10113
}

Semantic roles & 50–950 ramp

primary
#3A641F
secondary
#784698
accent
#4CDCA4
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A641F

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

Preview Lab → · Contrast checker → · Palette generator →

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