#3A5111#3A5111

#3A5111 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.093 H 127.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#3A5111
RGBrgb(58, 81, 17)
HSLhsl(82, 65%, 19%)
HSVhsv(82, 79%, 32%)
CMYKcmyk(28.4%, 0%, 79%, 68.2%)
CIE-LABlab(31.40, -19.66, 32.79)
CIE-LCHlch(31.40, 38.24, 120.95°)
OKLaboklab(40.2% -0.0564 0.0734)
OKLCHoklch(40.2% 0.093 127.5)
XYZxyz(4.7885, 6.8248, 1.5952)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5111 #281151
analogous
#514811 #3A5111 #1A5111
triadic
#3A5111 #113A51 #51113A
tetradic
#3A5111 #115148 #281151 #51111A
square
#3A5111 #115148 #281151 #51111A
split-complementary
#3A5111 #111A51 #481151
monochromatic
#121905 #161E06 #3A5111 #5E841C #82B626

Accessibility & contrast

On white

8.88
#3A5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3A5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5111
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5111#FFFFFF#000000##FFFFFF
##3A51111.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B06
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#3C4D45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a5111;
/* rgb */ color: rgb(58, 81, 17);
/* oklch */ color: oklch(40.2% 0.093 127.5);
Tailwind
colors: {
  custom: {
    50: '#738254',
    500: '#3a5111',
    950: '#000000',
  },
}
SCSS
$custom: #3a5111;
$custom-light: #738254;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5111",
  "rgb": {
    "r": 58,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 81.563,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.402,
    "c": 0.09254,
    "h": 127.5
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#3A5111
secondary
#53348A
accent
#40E87C
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5111

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

Preview Lab → · Contrast checker → · Palette generator →

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