#3A5A13#3A5A13

#3A5A13 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.104 H 131.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3A5A13
RGBrgb(58, 90, 19)
HSLhsl(87, 65%, 21%)
HSVhsv(87, 79%, 35%)
CMYKcmyk(35.6%, 0%, 78.9%, 64.7%)
CIE-LABlab(34.52, -24.13, 35.05)
CIE-LCHlch(34.52, 42.55, 124.55°)
OKLaboklab(42.74% -0.0683 0.0785)
OKLCHoklch(42.74% 0.104 131.1)
XYZxyz(5.5186, 8.2587, 1.9193)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5A13 #33135A
analogous
#5A5713 #3A5A13 #175A13
triadic
#3A5A13 #133A5A #5A133A
tetradic
#3A5A13 #135A57 #33135A #5A1317
square
#3A5A13 #135A57 #33135A #5A1317
split-complementary
#3A5A13 #13175A #57135A
monochromatic
#101905 #192708 #3A5A13 #5B8D1E #7BBF28

Accessibility & contrast

On white

7.92
#3A5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5A13
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5A13#FFFFFF#000000##FFFFFF
##3A5A131.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5306
Deuteranopia (green-blind)
#5A501A
Tritanopia (blue-blind)
#3B564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a5a13;
/* rgb */ color: rgb(58, 90, 19);
/* oklch */ color: oklch(42.7% 0.104 131.1);
Tailwind
colors: {
  custom: {
    50: '#738956',
    500: '#3a5a13',
    950: '#000000',
  },
}
SCSS
$custom: #3a5a13;
$custom-light: #738956;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5a13",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 87.042,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.10405,
    "h": 131.1
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#3A5A13
secondary
#603792
accent
#40E88C
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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