#3B5918#3B5918

#3B5918 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.6% C 0.098 H 130.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3B5918
RGBrgb(59, 89, 24)
HSLhsl(88, 58%, 22%)
HSVhsv(88, 73%, 35%)
CMYKcmyk(33.7%, 0%, 73%, 65.1%)
CIE-LABlab(34.27, -22.82, 32.68)
CIE-LCHlch(34.27, 39.86, 124.93°)
OKLaboklab(42.57% -0.0644 0.0743)
OKLCHoklch(42.57% 0.098 130.9)
XYZxyz(5.5408, 8.1403, 2.1433)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5918 #361859
analogous
#595718 #3B5918 #1B5918
triadic
#3B5918 #183B59 #59183B
tetradic
#3B5918 #185957 #361859 #59181B
square
#3B5918 #185957 #361859 #59181B
split-complementary
#3B5918 #181B59 #571859
monochromatic
#101806 #1B290B #3B5918 #5B8925 #7BB932

Accessibility & contrast

On white

7.99
#3B5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3B5918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5918
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5918#FFFFFF#000000##FFFFFF
##3B59181.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#3C554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b5918;
/* rgb */ color: rgb(59, 89, 24);
/* oklch */ color: oklch(42.6% 0.098 130.9);
Tailwind
colors: {
  custom: {
    50: '#748859',
    500: '#3b5918',
    950: '#000000',
  },
}
SCSS
$custom: #3b5918;
$custom-light: #748859;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5918",
  "rgb": {
    "r": 59,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 87.692,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42566,
    "c": 0.09833,
    "h": 130.9
  },
  "luminance": 0.08141
}

Semantic roles & 50–950 ramp

primary
#3B5918
secondary
#633D90
accent
#47E18E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #3B5918

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

Preview Lab → · Contrast checker → · Palette generator →

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