#3A641B#3A641B

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

Color values

HEX#3A641B
RGBrgb(58, 100, 27)
HSLhsl(95, 57%, 25%)
HSVhsv(95, 73%, 39%)
CMYKcmyk(42%, 0%, 73%, 60.8%)
CIE-LABlab(38.01, -28.33, 35.21)
CIE-LCHlch(38.01, 45.19, 128.81°)
OKLaboklab(45.61% -0.0791 0.0801)
OKLCHoklch(45.61% 0.113 134.6)
XYZxyz(6.4998, 10.0927, 2.6423)
Luminance0.1009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A641B #451B64
analogous
#5E641B #3A641B #1B6421
triadic
#3A641B #1B3A64 #641B3A
tetradic
#3A641B #1B5E64 #451B64 #64211B
square
#3A641B #1B5E64 #451B64 #64211B
split-complementary
#3A641B #211B64 #641B5E
monochromatic
#0E1807 #1E340E #3A641B #569428 #72C435

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A641B#FFFFFF#000000##FFFFFF
##3A641B1.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)
#685C10
Deuteranopia (green-blind)
#625821
Tritanopia (blue-blind)
#396055
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a641b;
/* rgb */ color: rgb(58, 100, 27);
/* oklch */ color: oklch(45.6% 0.113 134.6);
Tailwind
colors: {
  custom: {
    50: '#74905c',
    500: '#3a641b',
    950: '#000000',
  },
}
SCSS
$custom: #3a641b;
$custom-light: #74905c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a641b",
  "rgb": {
    "r": 58,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 94.521,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.11255,
    "h": 134.6
  },
  "luminance": 0.10093
}

Semantic roles & 50–950 ramp

primary
#3A641B
secondary
#744199
accent
#47E19F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A641B

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

Preview Lab → · Contrast checker → · Palette generator →

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