#3A641C#3A641C

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

Color values

HEX#3A641C
RGBrgb(58, 100, 28)
HSLhsl(95, 56%, 25%)
HSVhsv(95, 72%, 39%)
CMYKcmyk(42%, 0%, 72%, 60.8%)
CIE-LABlab(38.02, -28.24, 34.78)
CIE-LCHlch(38.02, 44.80, 129.08°)
OKLaboklab(45.62% -0.0787 0.0793)
OKLCHoklch(45.62% 0.112 134.8)
XYZxyz(6.5116, 10.0974, 2.7043)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A641C #461C64
analogous
#5E641C #3A641C #1C6422
triadic
#3A641C #1C3A64 #641C3A
tetradic
#3A641C #1C5E64 #461C64 #64221C
square
#3A641C #1C5E64 #461C64 #64221C
split-complementary
#3A641C #221C64 #641C5E
monochromatic
#0E1807 #1E340F #3A641C #569429 #71C437

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A641C#FFFFFF#000000##FFFFFF
##3A641C1.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)
#685C12
Deuteranopia (green-blind)
#625822
Tritanopia (blue-blind)
#396055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a641c;
/* rgb */ color: rgb(58, 100, 28);
/* oklch */ color: oklch(45.6% 0.112 134.8);
Tailwind
colors: {
  custom: {
    50: '#74905c',
    500: '#3a641c',
    950: '#000000',
  },
}
SCSS
$custom: #3a641c;
$custom-light: #74905c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a641c",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 28
  },
  "hsl": {
    "h": 95,
    "s": 56.25,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45616,
    "c": 0.11177,
    "h": 134.8
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#3A641C
secondary
#754399
accent
#48E0A1
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A641C

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

Preview Lab → · Contrast checker → · Palette generator →

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