#3A6F13#3A6F13

#3A6F13 is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.6% C 0.133 H 135.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#3A6F13
RGBrgb(58, 111, 19)
HSLhsl(95, 71%, 25%)
HSVhsv(95, 83%, 44%)
CMYKcmyk(47.7%, 0%, 82.9%, 56.5%)
CIE-LABlab(41.71, -33.86, 41.95)
CIE-LCHlch(41.71, 53.91, 128.91°)
OKLaboklab(48.63% -0.0946 0.0929)
OKLCHoklch(48.63% 0.133 135.5)
XYZxyz(7.5467, 12.3150, 2.5953)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6F13 #48136F
analogous
#686F13 #3A6F13 #136F1A
triadic
#3A6F13 #133A6F #6F133A
tetradic
#3A6F13 #13686F #48136F #6F1A13
square
#3A6F13 #13686F #48136F #6F1A13
split-complementary
#3A6F13 #1A136F #6F1368
monochromatic
#0E1A04 #1F3B0A #3A6F13 #55A31C #71D825

Accessibility & contrast

On white

6.06
#3A6F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3A6F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6F13
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6F13#FFFFFF#000000##FFFFFF
##3A6F131.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#6C611E
Tritanopia (blue-blind)
#386B5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a6f13;
/* rgb */ color: rgb(58, 111, 19);
/* oklch */ color: oklch(48.6% 0.133 135.5);
Tailwind
colors: {
  custom: {
    50: '#769959',
    500: '#3a6f13',
    950: '#000000',
  },
}
SCSS
$custom: #3a6f13;
$custom-light: #769959;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6f13",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 94.565,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48625,
    "c": 0.1326,
    "h": 135.5
  },
  "luminance": 0.12315
}

Semantic roles & 50–950 ramp

primary
#3A6F13
secondary
#7738A6
accent
#3AEEA2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3A6F13

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

Preview Lab → · Contrast checker → · Palette generator →

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