#3B5014#3B5014

#3B5014 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.0% C 0.088 H 126.8°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#3B5014
RGBrgb(59, 80, 20)
HSLhsl(81, 60%, 20%)
HSVhsv(81, 75%, 31%)
CMYKcmyk(26.2%, 0%, 75%, 68.6%)
CIE-LABlab(31.16, -18.46, 31.26)
CIE-LCHlch(31.16, 36.30, 120.56°)
OKLaboklab(40.02% -0.0528 0.0707)
OKLCHoklch(40.02% 0.088 126.8)
XYZxyz(4.7986, 6.7176, 1.7055)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5014 #291450
analogous
#504714 #3B5014 #1D5014
triadic
#3B5014 #143B50 #50143B
tetradic
#3B5014 #145047 #291450 #50141D
square
#3B5014 #145047 #291450 #50141D
split-complementary
#3B5014 #141D50 #471450
monochromatic
#121806 #171F08 #3B5014 #5F8120 #83B22C

Accessibility & contrast

On white

8.96
#3B5014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B5014
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5014#FFFFFF#000000##FFFFFF
##3B50141.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b5014;
/* rgb */ color: rgb(59, 80, 20);
/* oklch */ color: oklch(40.0% 0.088 126.8);
Tailwind
colors: {
  custom: {
    50: '#738156',
    500: '#3b5014',
    950: '#000000',
  },
}
SCSS
$custom: #3b5014;
$custom-light: #738156;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5014",
  "rgb": {
    "r": 59,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 81,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40023,
    "c": 0.08825,
    "h": 126.8
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#3B5014
secondary
#543888
accent
#45E37C
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3B5014

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

Preview Lab → · Contrast checker → · Palette generator →

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