#3A5F13#3A5F13

#3A5F13 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.1% C 0.111 H 132.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3A5F13
RGBrgb(58, 95, 19)
HSLhsl(89, 67%, 22%)
HSVhsv(89, 80%, 37%)
CMYKcmyk(38.9%, 0%, 80%, 62.7%)
CIE-LABlab(36.23, -26.57, 36.73)
CIE-LCHlch(36.23, 45.33, 125.88°)
OKLaboklab(44.14% -0.075 0.082)
OKLCHoklch(44.14% 0.111 132.4)
XYZxyz(5.9546, 9.1307, 2.0646)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5F13 #38135F
analogous
#5F5E13 #3A5F13 #145F13
triadic
#3A5F13 #133A5F #5F133A
tetradic
#3A5F13 #135F5E #38135F #5F1314
square
#3A5F13 #135F5E #38135F #5F1314
split-complementary
#3A5F13 #13145F #5E135F
monochromatic
#101A05 #1B2C09 #3A5F13 #59921D #78C527

Accessibility & contrast

On white

7.43
#3A5F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A5F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5F13
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5F13#FFFFFF#000000##FFFFFF
##3A5F131.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635704
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#3B5B51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a5f13;
/* rgb */ color: rgb(58, 95, 19);
/* oklch */ color: oklch(44.1% 0.111 132.4);
Tailwind
colors: {
  custom: {
    50: '#748c57',
    500: '#3a5f13',
    950: '#000000',
  },
}
SCSS
$custom: #3a5f13;
$custom-light: #748c57;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5f13",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 89.211,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44138,
    "c": 0.11108,
    "h": 132.4
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#3A5F13
secondary
#663797
accent
#3EEA92
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5F13

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

Preview Lab → · Contrast checker → · Palette generator →

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