#3A5E11#3A5E11

#3A5E11 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.8% C 0.111 H 132.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3A5E11
RGBrgb(58, 94, 17)
HSLhsl(88, 69%, 22%)
HSVhsv(88, 82%, 37%)
CMYKcmyk(38.3%, 0%, 81.9%, 63.1%)
CIE-LABlab(35.88, -26.22, 37.13)
CIE-LCHlch(35.88, 45.45, 125.22°)
OKLaboklab(43.84% -0.0742 0.0825)
OKLCHoklch(43.84% 0.111 132)
XYZxyz(5.8487, 8.9452, 1.9486)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5E11 #35115E
analogous
#5E5C11 #3A5E11 #145E11
triadic
#3A5E11 #113A5E #5E113A
tetradic
#3A5E11 #115E5C #35115E #5E1114
square
#3A5E11 #115E5C #35115E #5E1114
split-complementary
#3A5E11 #11145E #5C115E
monochromatic
#101A05 #1A2A08 #3A5E11 #5A921A #7AC624

Accessibility & contrast

On white

7.53
#3A5E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A5E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5E11
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5E11#FFFFFF#000000##FFFFFF
##3A5E111.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625601
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#3B5A50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a5e11;
/* rgb */ color: rgb(58, 94, 17);
/* oklch */ color: oklch(43.8% 0.111 132.0);
Tailwind
colors: {
  custom: {
    50: '#748c56',
    500: '#3a5e11',
    950: '#000000',
  },
}
SCSS
$custom: #3a5e11;
$custom-light: #748c56;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5e11",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 88.052,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.11092,
    "h": 132
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#3A5E11
secondary
#623497
accent
#3CEC8E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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