#3A5A11#3A5A11

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

Color values

HEX#3A5A11
RGBrgb(58, 90, 17)
HSLhsl(86, 68%, 21%)
HSVhsv(86, 81%, 35%)
CMYKcmyk(35.6%, 0%, 81.1%, 64.7%)
CIE-LABlab(34.50, -24.26, 35.81)
CIE-LCHlch(34.50, 43.26, 124.12°)
OKLaboklab(42.72% -0.0689 0.0797)
OKLCHoklch(42.72% 0.105 130.8)
XYZxyz(5.5022, 8.2521, 1.8331)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5A11 #31115A
analogous
#5A5511 #3A5A11 #165A11
triadic
#3A5A11 #113A5A #5A113A
tetradic
#3A5A11 #115A55 #31115A #5A1116
square
#3A5A11 #115A55 #31115A #5A1116
split-complementary
#3A5A11 #11165A #55115A
monochromatic
#111A05 #192707 #3A5A11 #5B8D1B #7CC124

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A5A11#FFFFFF#000000##FFFFFF
##3A5A111.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)
#5E5303
Deuteranopia (green-blind)
#5A5018
Tritanopia (blue-blind)
#3B564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a5a11;
/* rgb */ color: rgb(58, 90, 17);
/* oklch */ color: oklch(42.7% 0.105 130.8);
Tailwind
colors: {
  custom: {
    50: '#738955',
    500: '#3a5a11',
    950: '#000000',
  },
}
SCSS
$custom: #3a5a11;
$custom-light: #738955;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5a11",
  "rgb": {
    "r": 58,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 86.301,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4272,
    "c": 0.10536,
    "h": 130.8
  },
  "luminance": 0.08252
}

Semantic roles & 50–950 ramp

primary
#3A5A11
secondary
#5E3493
accent
#3DEB89
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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