#3A5014#3A5014

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

Color values

HEX#3A5014
RGBrgb(58, 80, 20)
HSLhsl(82, 60%, 20%)
HSVhsv(82, 75%, 31%)
CMYKcmyk(27.5%, 0%, 75%, 68.6%)
CIE-LABlab(31.08, -18.91, 31.17)
CIE-LCHlch(31.08, 36.45, 121.25°)
OKLaboklab(39.95% -0.054 0.0705)
OKLCHoklch(39.95% 0.089 127.5)
XYZxyz(4.7399, 6.6873, 1.7027)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5014 #2A1450
analogous
#504814 #3A5014 #1C5014
triadic
#3A5014 #143A50 #50143A
tetradic
#3A5014 #145048 #2A1450 #50141C
square
#3A5014 #145048 #2A1450 #50141C
split-complementary
#3A5014 #141C50 #481450
monochromatic
#121806 #171F08 #3A5014 #5D8120 #81B22C

Accessibility & contrast

On white

8.98
#3A5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A5014
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5014#FFFFFF#000000##FFFFFF
##3A50141.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0B
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#3C4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a5014;
/* rgb */ color: rgb(58, 80, 20);
/* oklch */ color: oklch(39.9% 0.089 127.5);
Tailwind
colors: {
  custom: {
    50: '#728155',
    500: '#3a5014',
    950: '#000000',
  },
}
SCSS
$custom: #3a5014;
$custom-light: #728155;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5014",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 82,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39947,
    "c": 0.0888,
    "h": 127.5
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#3A5014
secondary
#553888
accent
#45E37F
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5014

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

Preview Lab → · Contrast checker → · Palette generator →

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