#3A6513#3A6513

#3A6513 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.119 H 133.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3A6513
RGBrgb(58, 101, 19)
HSLhsl(91, 68%, 24%)
HSVhsv(91, 81%, 40%)
CMYKcmyk(42.6%, 0%, 81.2%, 60.4%)
CIE-LABlab(38.29, -29.39, 38.71)
CIE-LCHlch(38.29, 48.60, 127.20°)
OKLaboklab(45.82% -0.0826 0.0861)
OKLCHoklch(45.82% 0.119 133.8)
XYZxyz(6.5160, 10.2536, 2.2518)
Luminance0.1025 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6513 #3E1365
analogous
#636513 #3A6513 #136515
triadic
#3A6513 #133A65 #65133A
tetradic
#3A6513 #136365 #3E1365 #651513
square
#3A6513 #136365 #3E1365 #651513
split-complementary
#3A6513 #151365 #651363
monochromatic
#0F1A05 #1C3109 #3A6513 #58991D #75CC26

Accessibility & contrast

On white

6.88
#3A6513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3A6513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6513
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6513#FFFFFF#000000##FFFFFF
##3A65131.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C01
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#3A6156
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a6513;
/* rgb */ color: rgb(58, 101, 19);
/* oklch */ color: oklch(45.8% 0.119 133.8);
Tailwind
colors: {
  custom: {
    50: '#759158',
    500: '#3a6513',
    950: '#000000',
  },
}
SCSS
$custom: #3a6513;
$custom-light: #759158;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6513",
  "rgb": {
    "r": 58,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 91.463,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45822,
    "c": 0.11932,
    "h": 133.8
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#3A6513
secondary
#6C379D
accent
#3DEB98
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #3A6513

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

Preview Lab → · Contrast checker → · Palette generator →

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