#3A5011#3A5011

#3A5011 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.091 H 127.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3A5011
RGBrgb(58, 80, 17)
HSLhsl(81, 65%, 19%)
HSVhsv(81, 79%, 31%)
CMYKcmyk(27.5%, 0%, 78.8%, 68.6%)
CIE-LABlab(31.06, -19.13, 32.45)
CIE-LCHlch(31.06, 37.67, 120.52°)
OKLaboklab(39.92% -0.0549 0.0727)
OKLCHoklch(39.92% 0.091 127.1)
XYZxyz(4.7148, 6.6772, 1.5706)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5011 #271150
analogous
#504711 #3A5011 #1B5011
triadic
#3A5011 #113A50 #50113A
tetradic
#3A5011 #115047 #271150 #50111B
square
#3A5011 #115047 #271150 #50111B
split-complementary
#3A5011 #111B50 #471150
monochromatic
#121905 #151E06 #3A5011 #5F821C #83B526

Accessibility & contrast

On white

8.99
#3A5011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3A5011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5011
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5011#FFFFFF#000000##FFFFFF
##3A50111.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A06
Deuteranopia (green-blind)
#514917
Tritanopia (blue-blind)
#3D4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a5011;
/* rgb */ color: rgb(58, 80, 17);
/* oklch */ color: oklch(39.9% 0.091 127.1);
Tailwind
colors: {
  custom: {
    50: '#738154',
    500: '#3a5011',
    950: '#000000',
  },
}
SCSS
$custom: #3a5011;
$custom-light: #738154;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5011",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 80.952,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3992,
    "c": 0.09109,
    "h": 127.1
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#3A5011
secondary
#513389
accent
#40E87B
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5011

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

Preview Lab → · Contrast checker → · Palette generator →

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